SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict sporkit's Avatar
    Join Date
    Jan 2003
    Location
    DeKalb, IL
    Posts
    290
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another darn php.ini problem

    Code:
     Notice: Undefined variable: submitpost in C:\Inetpub\F8 Web Page\getposts.php on line 43


    ok after i reinstalled php on my webserver i suddenly start getting this error code once in a while. im not sure what it means and the strange this is the page works fine. it only happens when im trying to insert into the database using something from a variable. i just have no clue. anybody seen this before?

  2. #2
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's because your error reporting is set high. Open your php.ini and set error_reporting to E_ALL & ~E_NOTICE or define all your variables

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


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
  •