PHP Help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux