You are here: Re: Help Required in PHP, For validating the form and displaying error on same page. « PHP « IT news, forums, messages
Re: Help Required in PHP, For validating the form and displaying error on same page.

Posted by hug on 12/31/05 13:35

"Jatin" <jnnaik2002@yahoo.co.in> wrote:

>
>hug wrote:
>> "Jatin" <jnnaik2002@yahoo.co.in> wrote:
>>
>> >Hello everybody,
>> >
>> >I am new to PHP, and i want to validate the form data posted from one
>> >html form. if any error occurs then it should display the error message
>> >on the same page. can anybody suggest me something?
>>
>> I have lots of code that does that, but there's a bunch of proprietary
>> infrastructure involved to make it easy for me, and as a result I've
>> forgotten a few of the details and might need to look them up.
>>
>> What exactly seems to be the problem? The basic structure of the code
>> will probably turn out to be something like:
>>
>> // read inputs (if any) posted from form data and validate
>>
>> // issue any necessary error messages
>>
>> // display form using previous inputs if any
>>
>> --
>> http://www.ren-prod-inc.com/hug_soft/store.php?action=contact
>
>Thanks for great help.now is it possible to validate on the same page?
>Means i want to Accept data from user and this form will validate the
>data and will show an error message on the same page itself. If no
>error occurs then should forward to next page. I have found the similar
>solution but i lost that link....

Do you mean without submitting the form and sending the data to the
server? Not in PHP alone, you could fiddle with javascript but I
wouldn't bother.

--
http://www.ren-prod-inc.com/hug_soft/store.php?action=contact

 

Navigation:

[Reply to this 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

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