Answers for "mysqli update or create"

SQL
1

mysqli procedural UPDATE

if ($db->query("UPDATE contact SET lastname='Doe' WHERE id=2") === TRUE) {
  echo "Record updated successfully";
} else {
  echo "Error updating record";
}
Posted by: Guest on July-27-2020
2

live update mysql data in php

$(document).ready(function(){    
    loadstation();
});

function loadstation(){
    $("#station_data").load("station.php");
    setTimeout(loadstation, 2000);
}
Posted by: Guest on August-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language