Jump to content

[SOLVED] insert, can't find my error


Yeodan

Recommended Posts

mysql_query ("INSERT INTO tPlayers (pNumber, pName, pPassword,
                    pMail, pCode)
                    VALUES ('', '" . $name . "', '" . $pass . "', '" .
                    $mail . "', " . $code . ")") or die(mysql_error());

 

I get this error:

Unknown column 'a25da8859da2ce5cb05f810d833c7f50' in 'field list'

 

that's either $pass or $code, probably $code

but can't see what I'm doing wrong =(

 

edit: lol now I see it, forgot the '

Link to comment
https://forums.phpfreaks.com/topic/156533-solved-insert-cant-find-my-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.