Jump to content

Recommended Posts

Posted

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

Posted

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

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...