I m using THis mOdule for my johncms site Module is working fine But giving error in this code please Help me if you can
mysql_query("insert into `privat` values(0,'" . $nikus['name'] . "','User " . $login . " Gave you a gift [(To Prevent Bbcode here)url=".$home."/users/priz.php?act=in]Click to view gift[/url].','" . $realtime . "','" . $login . "','in','no','You have received a gift!','0','','','','');");
mysql_query("UPDATE `users`SET `monetki`=monetki-1 WHERE `id` = '$user_id'");
echo '<p>Gift successfully sent, '.$nikus['name'].' will be notified of your gift!<br/>Attention: We're writing off 1-on coin for the gift!<br/>Profile <a href="profile.php?user='.$nikus['id'].'">'.$nikus['name'].'</a></p>';
break;
HEre is The i m getting
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/mobhellc/public_html/users/podarok.php on line 56
In
i know its because of Wrong ' " or ; But Point me If You can THanks
mysql_query("insert into `privat` values(0,'" . $nikus['name'] . "','User " . $login . " Gave you a gift [(To Prevent Bbcode here)url=".$home."/users/priz.php?act=in]Click to view gift[/url].','" . $realtime . "','" . $login . "','in','no','You have received a gift!','0','','','','');");
mysql_query("UPDATE `users`SET `monetki`=monetki-1 WHERE `id` = '$user_id'");
echo '<p>Gift successfully sent, '.$nikus['name'].' will be notified of your gift!<br/>Attention: We're writing off 1-on coin for the gift!<br/>Profile <a href="profile.php?user='.$nikus['id'].'">'.$nikus['name'].'</a></p>';
break;
HEre is The i m getting
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/mobhellc/public_html/users/podarok.php on line 56
In
i know its because of Wrong ' " or ; But Point me If You can THanks
Comment