+ Reply to Thread
Results 1 to 2 of 2

Thread: Notice Undefined variable error in php

  1. #1
    Junior Member
    Join Date
    Dec 2011
    Posts
    2

    Notice Undefined variable error in php

    Hello,

    I was trying to run my php code on my home computer using Apache as my web server I got Undefined variable error:
    Notice: Undefined variable: error in /var/www/html/contact.php on line 209.
    However my php code works just fine on my hosting web server. So I'm guessing this is some kind of settings but I don't know where. Can someone help me? I did not find any solution online.

    Thanks in advance!

  2. #2
    Junior Member
    Join Date
    Dec 2011
    Posts
    1
    You can change the settings from php.ini.

    Code:
    error_reporting = E_ALL & ~E_NOTICE | E_STRICT

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts