Navigation
| From: | bryan | Date: | Mon, 30 Oct 2000 18:20:43 +0000 |
| Subject: | Navigation | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4050@lists.php.net to get a copy of this message | ||
Say I have the following code to display a piece of article information:
$query = "SELECT * FROM articles ORDER BY id";
$result = mysql_query($query, $dbcnx);
$row = mysql_fetch_array($result);
if (!$result) {
echo "NO RESULTS";
} else {
echo $row['content'];
}
How would I write Navigation to go to the next record through a link? And
be able to go back? I am wanting to be able to search through records of
articles using navigation instead of links to each article
Thanks for the help
bryan
Bryan Fitch
Programmer
Concept-Factory
http://www.concept-factory.com
bryan@concept-factory.com