Jump to content
MakeWebGames

welcome message help


boots

Recommended Posts

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']) {

Link to comment
Share on other sites

$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']) {

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

$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']) {

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...