02112007 0727 GMT-6

<?php
  ini_set('display_errors', 1);
  error_reporting(E_ALL);

Drop that in when doing developing. It will show you errors. 


On Sun, 2007-02-11 at 09:59 +0100, Pete wrote:
> In message <[EMAIL PROTECTED]>, alternate_dph
> <[EMAIL PROTECTED]> writes
> >When I load a web page with this code:
> ><html>
> ><body>
> ><?php
> >
> >print "Got here";
> >
> >$username="anything"
> >$password="else";
> >
> >?>
> >
> ></body>
> ></html>
> >
> >I got a blank page, and yes, obviously that isn't my username or password.
> 
> Your error level is set incorrectly (and my mind has gone blank, I can't
> remember exactly how to set it correctly on a single page) - but if it
> were set correctly, it would tell you about the missing ; at the end of
> the $username line.
> 

Reply via email to