kaz Posted November 7, 2005 Posted November 7, 2005 The code reads >$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')"); Error page (HERE) says Parse error: parse error, unexpected ',', expecting ')' in /home/deathea/public_html/member.php on line 403 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 Quote
TweezerMan Posted November 7, 2005 Posted November 7, 2005 This part of your query does not look like it's constructed correctly: >$db->time(time(, '$card')) 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: >$db->time(time(), '$card') 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.