Re: PHP-arnings

From: Date: Tue, 30 Oct 2001 13:53:15 +0000
Subject: Re: PHP-arnings
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-73022@lists.php.net to get a copy of this message
If defined ($x) ??? If !empty ($x) ??? ...Well ... ----- Original Message ----- From: Martín Marqués <martin@bugs.unl.edu.ar> To: Harald Witt <H.Witt@gmx.net> Cc: <php-general@lists.php.net> 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 | mmarques@unl.edu.ar > Programador, Administrador, DBA | Centro de Telematica > Universidad Nacional > del Litoral > ----------------------------------------------------------------- > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#73022) next »