PHP Help needed

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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gavin Chalkley [ Mi, 16 März 2011 18:35 ] [ ID #2056647 ]
PHP » gmane.comp.php.windows » PHP Help needed

Vorheriges Thema: Mysql problems
Nächstes Thema: Changing over to finishing the search engine