Search found 2 matches

by runeqm
Tue Jun 21, 2011 11:41 pm
Forum: Code
Topic: [simple] menu loading from mysql db
Replies: 2
Views: 2953

Re: [simple] menu loading from mysql db

thanks for the advice i had never used functions much and i just thought i would see how i go at creating one
by runeqm
Tue Jun 21, 2011 2:37 am
Forum: Code
Topic: [simple] menu loading from mysql db
Replies: 2
Views: 2953

[simple] menu loading from mysql db

i know this is very easy and probably not the most secure someone might find some use <?php function vertical_menu() { mysql_connect('localhost','root',''); mysql_select_db("menu"); $result = mysql_query("SELECT name,link FROM menu"); while ($row =mysql_fetch_array($result)){ $na...