Re: next/previous on a date select query
ok but what value am i passing the the "next.php" page ?
ie: <a href="next.php?ID=<?php echo $result_ar['ID']; ?>">Next</a>
where the next.php page is
$result = mysql_query("SELECT a.ID, a.djs, a.photo, a.comments,
UNIX_TIMESTAMP(a.date) AS unixdate
FROM test a, test b
WHERE a.date > b.date
AND b.ID = $left_off
ORDER BY a.date ASC
LIMIT 3", $connection) or die("error querying database");
and would the echo be:
<?php echo $result_ar['a.djs']; ?>
confused.com ;)
Subject
Written By
Posted
Re: next/previous on a date select query
July 06, 2010 09:05AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.