Hi
Is it possible to have two result rows from one query??
Here's a brief example...
I have a query such as this
Code:
$nav_result = mysql_query("select * from navigation where main='about' order by sort ASC");
$meta_row = mysql_fetch_row($nav_result);
Code:
<title><?php echo $meta_row[5]; ?></title>
<meta name='description' content='<?php echo $meta_row[6];?>'>
<meta name='keywords' content='<?php echo $meta_row[7];?>'>
Further down in my page I have a while loop which builds a 2nd level navigation...
Code:
while ($nav_row = mysql_fetch_array($nav_result, MYSQL_NUM)) {
echo '<a href='.$nav_row[4] .'>'.$nav_row[2].'</a><br />';
}
The problem I get with this is that the first entry of the navigation (the first entry in the database table) is missing.
Any reason from the above code??