If defined ($x) ??? If !empty ($x) ???
...Well ... ----- Original Message ----- From: Martín Marqués <[EMAIL PROTECTED]> To: Harald Witt <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 3:43 PM Subject: Re: [PHP] PHP-arnings > On Mié 31 Oct 2001 11:17, you wrote: > > Hi, > > > > I have a hopefully simple problem. Look at the following simple script: > > > > <?php > > if ($x) { > > echo $x; > > } > > ?> > > > > This script runs properly on my productive system (Linux, Apache, PHP > > 4.0.3pl1). But on my Development-System (W2k Server, Apache 1.3.20, PHP > > 4.0.6) I always get a Warning, that variable x in not definded. > > Ok, thats true. But how can I suppress that Messages??? They destroy my > > HTML-Code. I've searched in the PHP.INI file, but I can't find anything, > > that looks like warning-suppression. > > Yes the error reporting. > > -- > Porqué usar una base de datos relacional cualquiera, > si podés usar PostgreSQL? > ----------------------------------------------------------------- > Martín Marqués | [EMAIL PROTECTED] > Programador, Administrador, DBA | Centro de Telematica > Universidad Nacional > del Litoral > ----------------------------------------------------------------- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]