1
Hello,
I cannot run this query, I echo this variable and all data is being passed, but it does not enter my BD. When I copy the command and paste it into the phpMyAdmin query works. Could someone help? Thanks! :)
$sql = "INSERT INTO `tabela2` (`nome`, `cor`, `sexo`) VALUES
('$nome','$cor','$sexo')";
mysql_query($link,$sql);
have tried with mysqli ?
– goio
No, like I do?
– Lucas Vianna
mysql_query()
this function has been removed from php7, its substitute is themysqli_query
.– rray
But the version of php on the server is 5.6.30, I can use it anyway?
– Lucas Vianna