Jump to content
php.lv forumi

Kur kļūda?


Janhouse

Recommended Posts

Kur te ir kļūda?

 

$query = "INSERT INTO lietotaji (username, password, email, showmail, getnews, level, avatar, skype, yahoo, msn, ip, registred) VALUES ('$username', '$password', '$email', '$show', '$news', '$level', '$avatar', '$skype', '$yahoo', '$msn', '$ip', '$registred')";

mysql_query($query) or die('Nesanaca');

Link to comment
Share on other sites

paldies! :)

 

Bet tas tapec, ka vins nelauj atstat tuksus laukus. Kapec ta? Vecajam mysql vareja atstat tuksus.

 

kipa

Field 'moderator' doesn't have a default value

 

Nu taj mysql 4.1 nekadus default value nevajadzeja noradit....

 

nu ok es uzliku tiem laukiem iespejamo vertibu null un tagad viss strada

Link to comment
Share on other sites

×
×
  • Create New...