boots Posted January 13, 2012 Posted January 13, 2012 Im trying to add a link in my welcome message i have tried it so many ways but still no joy :( QUERY ERROR: 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 'helptutorial.php' />Tutorial To receive your Welcome Starter Pack mail admin' at line 1 Query was INSERT INTO mail VALUES ('',0,1,62,unix_timestamp(),'Welcome','Welcome .to gang land killers! Please Read the Tutorial,Tutorial To receive your Welcome Starter Pack mail admin,Enjoy the game If you Need any help just mail me or use the chat box') $db->query("INSERT INTO mail VALUES ('',0,1,$i,unix_timestamp(),'Welcome','Welcome {$ir['username']}.to gang land killers! Please Read the Tutorial,<a href = 'helptutorial.php' />Tutorial</a> To receive your Welcome Starter Pack mail admin,Enjoy the game If you Need any help just mail me or use the chat box')",$c); $db->query("UPDATE users SET new_mail = new_mail + 1 WHERE userid = $i"); if($_POST['ref']) { Quote
sniko Posted January 13, 2012 Posted January 13, 2012 $db->query("INSERT INTO mail VALUES ('',0,1,$i,unix_timestamp(),'Welcome','Welcome {$ir["username"]}.to gang land killers! Please Read the Tutorial,<a href = "helptutorial.php">Tutorial</a> To receive your Welcome Starter Pack mail admin,Enjoy the game If you Need any help just mail me or use the chat box')",$c); $db->query("UPDATE users SET new_mail = new_mail + 1 WHERE userid = $i"); if($_POST['ref']) { Quote
boots Posted January 14, 2012 Author Posted January 14, 2012 no joy :( Parse error: syntax error, unexpected T_STRING in /home/bootson/public_html/mafia/signup.php on line 403 line 403, $db->query("INSERT INTO mail VALUES ('',0,1,$i,unix_timestamp(),'Welcome','Welcome {$ir["username"]}.to gang land killers! Please Read the Tutorial,<a href = "helptutorial.php">Tutorial</a> To receive your Welcome Starter Pack mail admin,Enjoy the game If you Need any help just mail me or use the chat box')",$c); Quote
sniko Posted January 14, 2012 Posted January 14, 2012 $db->query("INSERT INTO mail VALUES ('',0,1,$i,unix_timestamp(),'Welcome','Welcome {$ir[\'username\']}.to gang land killers! Please Read the Tutorial,<a href = \'helptutorial.php\'>Tutorial</a> To receive your Welcome Starter Pack mail admin,Enjoy the game If you Need any help just mail me or use the chat box')",$c); $db->query("UPDATE users SET new_mail = new_mail + 1 WHERE userid = $i"); if($_POST['ref']) { Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.