View Full Version : help...How to Create a Simple Navigation...

03-15-2009, 07:35 PM
How to Create a Simple Navigation Like Next-Previous with PHP(using DB information)? :confused::confused::confused:

03-15-2009, 07:36 PM
$result = mysql_query("SELECT id,meta_d,author,date,title FROM other",$db);
$myrow = mysql_fetch_array($result);
$id = $myrow['id'];
if ($id != 0){
printf("<table width='485' border='0'>
<td width='200'><p class='class1'><a href='view_other.php?id=%s>'><p>%s</p></a>
<td width='285'><p class='class1'>%s</p></td>
<td width='200'><h4 class='class2'>Date:<br>Author:</h4></td>
<td width='285'><h4 class='class2'>%s<br>%s</h4></td>
else echo "<p class='class3'>No info in DB!!!</p>";
while($myrow = mysql_fetch_array($result));

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum