PHP Help needed
| From: | Gavin Chalkley | Date: | Wed, 16 Mar 2011 17:35:03 +0000 |
| Subject: | PHP Help needed | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-30532@lists.php.net to get a copy of this message | ||
Hi All,
I am new to PHP and trying to create the follofing
I am changing the Database and wanting to list the navigation names in
the database, so when one is click the corresponding content is
displayed.
I have the list from the database displayed as links:
---------------------------------------------------------------------------------------
echo "<ul>";
while($row = mysqli_fetch_assoc($result))
{
echo "<li><a
href='$row[navLink]'>".$row['navLink'];
echo "</a></li>";
}
echo "</ul>";
---------------------------------------------------------------------------------------
But how do I link the content to the link being clicked?
Or is what I am doing not possible?
--
Best regards,
Gavin C