php-windows Digest 16 Mar 2011 17:35:07 -0000 Issue 3926

Topics (messages 30532 through 30532):

PHP Help needed
        30532 by: Gavin Chalkley

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin 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

--- End Message ---

Reply via email to