Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Php] [Mysql] dziwny problem..
raxon
post
Post #1





Grupa: Zarejestrowani
Postów: 44
Pomógł: 0
Dołączył: 30.06.2009

Ostrzeżenie: (10%)
X----


Mam oto taki problem podczas próby rejestracji dostaje taki oto błąd..


  1. 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 'key='37267459315397548983', status='0', ban='0', points='0', rang1='0', rang2='' at line 3


niby wszystko działa a jednak nie (IMG:style_emoticons/default/sad.gif)

może coś tu pomoże
  1. @mysql_query("insert into members set username='$username', password='$password', email='$email', nickwmc='$nickwmc',
  2. sex='$sex', dud='$dud', dum='$dum', dur='$dur', gadugadu='$gadugadu', skype='$skype', steam='$steam', youtube='$youtube',
  3. website='$website', ip='$ip', dateregister='$dateregister', key='$key', status='0', ban='0', points='0',
  4. rang1='0', rang2='0', rang3='0', rang4='0', rang5='0', avatar='upload/avatars/avatar.gif'")or die(mysql_error());


a linia 3 to connection();

  1. <?php
  2. require "config.php";
  3. connection();
  4. ?>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 2.10.2025 - 22:41