Posts by user3013911 • 31 points
1 post
-
2
votes2
answers2981
viewsQ: "Undefined variable" error
I’m trying to run this code but it’s not working. $sql = "SELECT * FROM cliente WHERE id = $id "; $limite = mysql_query("$sql"); while ($sql = mysql_fetch_array($limite)){ $nome = $sql["nome"];…