Posts by Renato • 1 point
2 posts
-
0
votes1
answer52
viewsA: Save total lines of a SELECT with WHERE in a variable
Thank you all for the help. One person helped me with the following solution: $escritorio = $_POST["n_escritorio"]; echo "$escritorio<br>"; $resultado = $mysqli->prepare("SELECT * FROM…
-
0
votes1
answer52
viewsQ: Save total lines of a SELECT with WHERE in a variable
I need to develop a code where the line total of a SELECT is stored in a variable. I wrote the code below, but when I use WHERE returns an error "Notice: Trying to get Property of non-object in". It…