SummoNEr Posted October 9, 2003 Report Share Posted October 9, 2003 Tem algo errado no codigo abaixo? ele nunca da como bem sucedido (sou noob :blink: ) $sql = "create table usuarios "; $sql .= "(cod_user integer(5) not null auto_increment primary key, "; $sql .= "username varchar(16) not null, "; $sql .= "password varchar(16) not null, "; $sql .= "email varchar(50) not null) "; $query = @mysql_query($sql); Quote Link to comment Share on other sites More sharing options...
0 M@luco Belez@ Posted October 9, 2003 Report Share Posted October 9, 2003 que erro aparece? Quote Link to comment Share on other sites More sharing options...
0 SummoNEr Posted October 9, 2003 Author Report Share Posted October 9, 2003 já resolvi o problema, vlw!! :D e que emabaixo tinha:if(!$query) { echo "Não fo bem sucedido"; die; } else { echo "Bem sucedido"; } era tudo questao de ignorancia de iniciante :P Quote Link to comment Share on other sites More sharing options...
Question
SummoNEr
Tem algo errado no codigo abaixo? ele nunca da como bem sucedido (sou noob :blink: )
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.