SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Sep 2004
    Location
    Provo, UT
    Posts
    865
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Getting PHP errors to show inside a lightbox

    I used this code to turn on my error messages:

    ini_set('display_errors',1);
    error_reporting(E_ALL);

    When I first launch my lightbox it shows me some warnings including some undefined variables. When I fill out the form inside the lightbox and go to the next page within the same lightbox, all I get is empty white. How do I get it to display the errors in the lightbox after I have submitted the info in the form?

    Thanks!
    Convert your dollars into silver coins. www.convert2silver.com

  2. #2
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,065
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by busboy View Post
    When I first launch my lightbox it shows me some warnings including some undefined variables. When I fill out the form inside the lightbox and go to the next page within the same lightbox, all I get is empty white.
    The warnings are vanishing because once the form has been filled in, there is a value/content for each form field
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator


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
  •