Search found 8 matches

by violentj
Mon Mar 31, 2008 1:55 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

thnx that sorted it =D
by violentj
Mon Mar 31, 2008 11:24 am
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

curly braces have made NO difference to the error! //////CENSORS $getcensors = mysql_query("SELECT censor FROM {$tab[censor]};");///this is the line im havin trouble with $censorwords = array(); while($censor=mysql_fetch_array($getcensors)) {   array_push($censorwords, $censor[0]); }   //G...
by violentj
Sat Mar 29, 2008 6:02 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

ive looked at the cide and tried ti find the error but i cant (that was the point of coming to the forum). thanx anywayz
by violentj
Sat Mar 29, 2008 4:57 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

wat? //////CENSORS $getcensors = mysql_query("SELECT censor FROM $tab[censor];"); $censorwords = array(); while($censor=mysql_fetch_array($getcensors)) {   array_push($censorwords, $censor[0]); }   //GRAB THEY MASTER AND GAME ID if($tru){ $id = mysql_fetch_array(mysql_query("SELECT id...
by violentj
Sat Mar 29, 2008 4:43 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

ive put them there havent i?!
by violentj
Sat Mar 29, 2008 4:03 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

I have now encountered the following error but my MySQL statement (im sure) are correct (unless its me being naive) Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /content/StartupHostPlus/v/i/virus-mafia.com/web/setup.php on line 63 Warning: mysql_fetch_array...
by violentj
Fri Mar 28, 2008 4:47 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

Re: MySQL Error

Ok now i have edited it and am now getting this error message, Parse error: syntax error, unexpected T_STRING, expecting '}' in /www/110mb.com/v/i/o/l/e/n/t/j/violentj/htdocs/setup.php on line 45 again ive tried looking to see wtf is wrong but i cant find out! :banghead: ive tried backslashing but t...
by violentj
Thu Mar 27, 2008 5:11 pm
Forum: PHP - Code
Topic: MySQL Error
Replies: 16
Views: 439

MySQL Error

I am having trouble with my mysql setup in the setup.php of my mmorpg script (see below). I have tried to find the error but cannot find out what is wrong!! my site is virus-mafia.com my MySQL data, username=<Removed by mod> pass=<Removed by mod> name=<Removed by mod> This is the script im having pr...