Posts by Bernardo Ascensão • 11 points
3 posts
-
0
votes1
answer168
viewsQ: Mysql PDO function for json
I’m taking the first steps in MySQL PDO and I have 2 doubts in my code. A first related to the efficiency of the functions. The second doubt is related to the return of results of a database to…
-
0
votes2
answers1021
viewsQ: Problem with Json_encode
I have the following code? if($result = $mysqli->query($query)){ while($row = $result->fetch_array(MYSQLI_ASSOC)) { $temp[] = $row; } } $result->close(); foreach ($temp as $x) {…
-
1
votes1
answer106
viewsQ: Implemetar Script
Good The script below serves to create a grid of numbered squares. index php. <script> var lastClicked; var grid = clickableGrid(5,22,function(el,row,col,i){ console.log("You clicked on…