No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a snippet that inserts data in a row in a MySql database. If that data already exists the existing row should be updated. In my case, I continue to get insert only. What is wrong with this snippet? $page = basename($_SERVER['SCRIPT_NAME']); $ip_address = $_SERVER['REMOTE_ADDR']; include_once("includes/connection.php"); $sql=mysqli_query($con, "SELECT visits … |
|
I have a script that calls image files through a database. It all works well but the image list is too long and loading is slow.I need to implement lazy loading after the third image. How do I implement this? <?php $query = mysqli_query($con, "SELECT * FROM image_uploads WHERE filename … |