Hello,
I am creating a website, and I was trying to create a dynamic menu by using MySQL. So it would be easier to manage, through an Admin panel you can insert information in MySQL and the dynamic menu will take it out like this:
$d_getlinks = "SELECT * FROM paginas";
$d_links = mysql_fetch_array();
<div class="menu">
<a href="<?php echo $d_links['link']; ?>"><?php echo $d_links['menu']; ?></a>
</div>
This gives the result I wanted except that it only gives the first value, how can I get it to display ALL the links in that table?
Regards,
Chris