Thread: retrieving data
View Single Post
Old 11-28-2008, 06:08 AM   #1 (permalink)
KingOfTheSouth
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default retrieving data

I have currently recoded the signup page for my site and I have changed it a lot and I created a few more tables to my database. However it is not getting the tables correctly. I am getting errors with the following lines


$html = mysql_fetch_array(mysql_query("SELECT rules,tos FROM $tab[html];"))

while($ban=mysql_fetch_array($getbans)) {

everything in them are correct. But for some reason I keep getting the normal errors with the database which are these.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home1/clubbink/public_html/signup.php on line 13

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home1/clubbink/public_html/signup.php on line 325

If someone could help me would appreciate it a lot
KingOfTheSouth is offline  
Reply With Quote