Janhouse Posted April 29, 2006 Report Share Posted April 29, 2006 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 More sharing options...
Vebers Posted April 29, 2006 Report Share Posted April 29, 2006 mysql_query($query) or die(mysql_error()); Link to comment Share on other sites More sharing options...
Janhouse Posted April 29, 2006 Author Report Share Posted April 29, 2006 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 More sharing options...
Recommended Posts