John Black wrote: > Arne Stone wrote: >> Hallo all,> >> Sorry for the n00b question! >> >> I am busy learning PHP and from the eBook I copied this code: > >> When I open this in my browser I just see a blank screen not one of the >> echo's shows....What could be the problem? >> > > > Make sure you have error reporting turned on when you are experimenting. > Open php.ini and uncomment the following, restart apache afterwards. > > error_reporting = E_ALL > display_errors = On > display_startup_errors = On > log_errors = On > > Using error_reporting = E_All and making your code compatible with it > will make your code more compatible. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Ouch, that is what I get for writing late at night :)
This was supposed to be: Using error_reporting = E_ALL will make your code more compatible with other php installations. No more "undefined" warnings and such.... Good night.