N3lson Posted July 27, 2013 at 05:18 AM Report #520148 Posted July 27, 2013 at 05:18 AM (edited) Boas quando tento inserir dados na bd aparece-me isto Use of undefined constant mysqli_query - assumed 'mysqli_query' $sql ="INSERT INTO socios (numero, nome, morada, ....) VALUES( '$numero', '$nome', '$morada', '....')"; mysqli_query($con, $sql); Edited July 27, 2013 at 05:21 AM by N3lson You can't do it, kid. But don't worry, my boy. You're not the only one. No one else can do it.
HappyHippyHippo Posted July 27, 2013 at 08:39 AM Report #520149 Posted July 27, 2013 at 08:39 AM o erro não deverá ser nessas linhas IRC : sim, é algo que ainda existe >> #p@p Portugol Plus
N3lson Posted July 27, 2013 at 08:49 AM Author Report #520150 Posted July 27, 2013 at 08:49 AM (edited) Não, ... Eu estava a colocar errado uma instrução. era aqui if (!mysqli_query($sql)) Edited July 27, 2013 at 08:52 AM by N3lson You can't do it, kid. But don't worry, my boy. You're not the only one. No one else can do it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now