Reply to Re: Incomplete form handling

Your name:

Reply:


Posted by Shelly on 11/02/07 01:12

Animesh K wrote:
> Shelly wrote:
>
>>
>> I collect all the POST data into variables. In the HTML area I have
>> the values of the fields set to those variables. I also have the
>> form post to itself and do a header() command to change pages on
>> success. An example might be a text field "city". In the html area I
>> would
>> have <input type="text" name="city" value="<?php echo $city; ?>"> where
>> $city is the value of the obtained from the post of that field.
>>
>> This may not be the best way, but it sure works.
>>
>> Shelly
>>
>>
>
>
> Thanks for the quick response. This method should work, as I
> expected. I was wondering if there is a better method :)
>
> Do you post the incomplete data as a hidden post?

No, I just post it. I then validate it and process it further. Failing
validation, it drops through and displays. Successful validation send it
off somewhere else when done.

--
Shelly

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация