Search Result

Collapse
2 results in 0.0034 seconds.
Keywords
Members
Tags
no record
  •  

  • Antonio Bacasno
    started a topic Error Handling If A Record Is Not Found
    in PHP

    Error Handling If A Record Is Not Found

    I would like to kindly seek some coding assistance. I would like to put some kind of error handling in my code if, say, an ID number was entered, but that ID number has no existing record in the database. I have entered some kind of error-checking in my code that will redirect if an ID with no record was entered, but it just doesn't work. The code doesn't affect the page functionality if I entered an ID number with existing records, it only affects...
    See more | Go to post

  • Antonio Bacasno
    started a topic No Record Found Error Handling
    in PHP

    No Record Found Error Handling

    Please help me. I would like to put some code that will produce an error message if the ID number entered is still non-existent, then returns to the previous page. I've tried using mysqli_num_rows , but it doesn't work, maybe I used the wrong function. Please find the attached code.

    ***RETRIEVE DATA OF CORRESPONDING ID NUMBER***
    Code:
    <?php require_once("includes/db_connect.php"); ?>
    <?php require_once("includes/functions.php");
    ...
    See more | Go to post
Working...