What is odd is that when I put in a fragment the code you suggested
!!<<?php phpinfo(); ?>>!! I didn't see anything in the actinic preview pane.
!!<<?php phpinfo(); ?>>!! I didn't see anything in the actinic preview pane.
<? php
include("http://www.puddlepetcare.co.uk/scratchcard/include/functions.inc.php");
include("http://www.puddlepetcare.co.uk/scratchcard/include/pagination.php");
connect();
$limit=25;
if(!isset($_GET[page]))
$page=1;
else
$page=$_GET[page];
$winners = getLatestWinners($page,$limit);
$total = getTotalWinners();
if($total>0)
{
$p = new pagination();
$p->Items($total);
$p->limit($limit);
$p->target('winners.php');
$p->currentPage($_GET['page']);
$p->calculate();
$p->changeClass("pagination");
}
include("templates/winners.html");
?>
http://www.puddlepetcare.co.uk/scratchcard/templates/winners.html
Comment