12-21-2007, 03:01 PM
|
#3 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
You arent inserting any values on your foreach loop, thats the SQL error. You have no separation between the PHP and HTML, it will execute when you load the page. You will want to put the code outside of a function in a different file. Lastly, why the return statement outside of a function?
|
|
|
|