Posted by Cal Lidderdale on 12/18/52 11:50
Markus Ernst wrote:
> Cal Lidderdale schrieb:
>
>> As an aside - Why da flip did someone decide that the "Notice" needed
>> to be spit out is beyond me.
>
>
> This is actually a service for you. Imagine writing an application with
> some 1000s of lines of code, and at the end you just get a blank page -
> I bet you would be quick in blaming PHP for letting you stand in the rain.
>
>> And shouldn't (is) there be a way to say "Shhhhhhhh" IE "<?php -quite"
>
>
> If parameters are are optional it is quite easy to code:
$list = array (name, address, phone);
foreach ($list as $item) {
$$item = isset($_GET["$item"]) ? $_GET["$item"] : false;
}
>
> If you prefer it the dirty way you can disable any level of error
> reporting: www.php.net/error_reporting.
>
> Good luck
> Markus
Thanks, old dog learn new trick :-D see above
( I tried to find a animated gif of a sweeping bow - ya know, sometimes
the internet stinks - How to tie a sweeping bow - No a bow not a bow. ) :-/
[Back to original message]
|