Our Scripts Vault contains many game scripts that you can use to create your own game!
Say better for what game you need that messaging or if that is your made game show us a source only that we can help you width your problem.
I use XAMPP, but for me everything works fine...
I may have an explanation but it's been a bit since you last posted so you may have already found out the problem? If not lemme know and I'll post further...
Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads='0'' at line 7
/* ***PHP CODES*** */mysql_query("INSERT INTO messages (recipient,user,name,content,mytime,reads) VALUES('$target','$user->username','$thrd_title',content='$thrd_content',mytime='$time',reads='0') ") or die(mysql_error());/* *** SQL details*** */ID int(10) recipient varchar(225)user varchar(225)name varchar(225)content textmytime int(11)reads int(1)
mysql_query("INSERT INTO messages (recipient,user,name,content,mytime,reads) VALUES('$target','$user->username','$thrd_title','$thrd_content','$time','0') ") or die(mysql_error());
mysql_query("INSERT INTO messages (recipient,user,name,content,mytime,`reads`) VALUES('$target','$user->username','$thrd_title','$thrd_content','$time','0') ") or die(mysql_error());
Nice job!!!With SQL if the word you are using is a reserved work then you can add the tick around the field name to let SQL know you are referencing a field name rather then the reserved work...ie..Code: [Select]mysql_query("INSERT INTO messages (recipient,user,name,content,mytime,`reads`) VALUES('$target','$user->username','$thrd_title','$thrd_content','$time','0') ") or die(mysql_error());