Jump to content
php.lv forumi

MySQL kļūda


xfr33

Recommended Posts

Labdien!

Mēģinaju izveidot reģistrāciju, kas saistīta ar datu bāzi. Bet met ārā kļūdu.

 

KĻŪDA:

 

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a2599236/public_html/register2.php on line 119

 

Un pats php kods būs atrodams šeit!

 

Paldies jau iepriekš par palīdzību.

Link to comment
Share on other sites

Paldies, tas palīdzeja, bet tagad radās vēl viena problēma.

Es reģistrējos ar lietotajvārdu: test.

Tiek mesta šāda kļūda:

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''users' WHERE username = 'test'' at line 1

 

EDIT:

 

Šo kļūdu atrisināju, bet ir nākamā :) Šoreiz gan netieku skaidrībā.

 

Kļūda:

 

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''username', 'password', 'email', 'ip', 'name', 'surname', 'bday', 'date') VALUES' at line 1

Edited by xfr33
Link to comment
Share on other sites

Join the conversation

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

Guest
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.

Loading...
×
×
  • Create New...