Unexpected Php Error Problem

liunx

Guest
The code reads<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$db->query("INSERT INTO $table_members (uid, username, password, regdate, postnum, email, site, aim, status, location, bio, sig, showemail, timeoffset, icq, avatar, yahoo, customstatus, theme, bday, langfile, tpp, ppp, newsletter, regip, timeformat, msn, ban, dateformat, ignoreu2u, lastvisit, mood, pwdate, invisible, u2ufolders, saveogu2u, emailonu2u, useoldu2u, webcam, moodicon, gender, zodiac, readrules, lastcodedate, awards, card ) VALUES ('', '$username', '$password', ".$db->time(time(, '$card')).", '0', '$email', '$site', '$aim', '$self[status]',  '$locationnew', '$bio', '$sig', '$showemail', '$timeoffset1', '$icq', '$avatar', '$yahoo', '', '$thememem', '$bday', '$newlangfile', '$tpp', '$ppp',  '$newsletter', '$onlineip', '$timeformatnew', '$msn', '', '$dateformatnew', '', '', '$newmood', '', '0', '', '$saveogu2u', '$emailonu2u', '$useoldu2u', '$webcam', '$posticon', '$gender', '$zodiac', 'no','', '$awards')");<!--c2--></div><!--ec2--><br /><br />Error page (<a href="http://www.death-eater.net/member.php?action=cards" target="_blank">HERE</a>) says<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Parse error: parse error, unexpected ',', expecting ')' in /home/deathea/public_html/member.php on line 403<!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />I know its something to do with the Card string command, im using a card mod for xmb forum software, i cant seem to find problem though<!--content-->
This part of your query does not look like it's constructed correctly:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$db->time(time(, '$card'))<!--c2--></div><!--ec2--><br />The time() function doesn't take any parameters. If $db->time accepts two parameters (I don't know if it does or not), then it would appear that the closing parenthesis for the time() function was misplaced at the end of the $db->time function:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$db->time(time(), '$card')<!--c2--></div><!--ec2--><!--content-->
 
Top