Re: Variable problem?

From: Date: Wed, 25 Jul 2007 03:05:22 +0000
Subject: Re: Variable problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259471@lists.php.net to get a copy of this message
On Tue, July 24, 2007 3:33 pm, Luc wrote: > if (empty($_POST['altura'])){ > $contacter_form_error[] = 'favor preencher altura'; > } > if (empty($_POST['largura'])){ > $contacter_form_error[] = 'favor preencher largura'; > } > else { > $empresa_name = stripslashes($_POST['empresa_name']); > $contato_email = > stripslashes($_POST['contato_email']); I think you're just missing $contato_name = $_POST['contato_name'] in here somewhere... I got kinda lost, though. That said, if you are using striplashes, you have magic_quotes_gpc on, and that's something you may want to turn off in the first place. Or consider checking if it's on in your code rather than assuming it's on. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#259471) next »