PHP tutorial errors

Home Forums Bugs PHP tutorial errors

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1407
    Indrit Shurdhi
    Participant

    ·         Undefined Variable Error at [32:11]: This error happens when a variable is used before it has been given a value. The video shows this occurring because of a misspelled variable name.

    ·         Array to String Conversion Error at [38:05]: This error occurs when you try to display an array directly as a simple text string. PHP requires a specific method to format array data for output.

    ·         ·  Trying to echo an array directly results in an “array to string conversion” error [38:05].

    ·         ·  An undefined variable error occurs when trying to use a variable that hasn’t been declared [01:00:49].

    ·         ·  An “mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, bool given” error happens when a query fails, and you try to fetch data from a boolean instead of a result set [01:19:46].

    ·         ·  A “Trying to access array offset on null” error occurs when trying to access an array element on a variable that is null [01:21:48].

    ·  A “Call to undefined function” error happens when you try to use a function that doesn’t exist or is misspelled [01:23:43].

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.