PJ wrote:
> Shawn McKenzie wrote:
>> PJ wrote:
>>
>>> Caner Bulut wrote:
>>>
Hi PJ,
You can use the structure following
$bid = htmlentities($_GET['id']);
>>> the code below
>>>
if(empty($bid) {
$bid=0;
}
>>> produces
Shawn McKenzie wrote:
> PJ wrote:
>
>> Caner Bulut wrote:
>>
>>> Hi PJ,
>>>
>>> You can use the structure following
>>>
>>> $bid = htmlentities($_GET['id']);
>>>
>>>
>> the code below
>>
>>> if(empty($bid) {
>>> $bid=0;
>>> }
>>>
>> produces an empty screen with no error
On Tue, Jun 23, 2009 at 11:37 AM, Shawn McKenzie wrote:
> PJ wrote:
>> Caner Bulut wrote:
>>> Hi PJ,
>>>
>>> You can use the structure following
>>>
>>> $bid = htmlentities($_GET['id']);
>>>
>> the code below
>>> if(empty($bid) {
>>> $bid=0;
>>> }
>> produces an empty screen with no error messages.
PJ wrote:
> Caner Bulut wrote:
>> Hi PJ,
>>
>> You can use the structure following
>>
>> $bid = htmlentities($_GET['id']);
>>
> the code below
>> if(empty($bid) {
>> $bid=0;
>> }
> produces an empty screen with no error messages...
> I have been having some trouble understanding "empty()" -- it doe
sible to streamline the
>> whole process, but then it does work and I am just learning... :-)
>> Thanks again.
>> PJ
>>
>>
>>
>> Caner BULUT wrote:
>>> Hi,
>>>
>>> You can use a variable to that. Like following. Example if the variab
gt; > > }
> >
> > Thanks.
> > Caner.
> >
> >
> > -Original Message-
> > From: PJ [mailto:af.gour...@videotron.ca]
> > Sent: 20 June 2009 22:55
> > To: php-general@lists.php.net
> > Subject: [PHP] resubmit form after validation error
&
ing. Example if the variable is 1
> you start to processing form input.
>
> Example
>
> }
>
> Thanks.
> Caner.
>
>
> -Original Message-
> From: PJ [mailto:af.gour...@videotron.ca]
> Sent: 20 June 2009 22:55
> To: php-general@lists.php.net
>
Hi,
You can use a variable to that. Like following. Example if the variable is 1
you start to processing form input.
Example
mailto:af.gour...@videotron.ca]
Sent: 20 June 2009 22:55
To: php-general@lists.php.net
Subject: [PHP] resubmit form after validation error
I'm having a bit of a
I'm having a bit of a time figuring out how to resubmit a form after
obligatory field missing error.
The problem is that the page is accessed from a search page href where
the uri is like = file.php$=123.
Since the method="post" action="file.php?= does
not work nor does PHP_SELF, I have set the act
9 matches
Mail list logo