You are here: Saving the values of form elements after an incomplete submission « PHP Programming Language « IT news, forums, messages
Saving the values of form elements after an incomplete submission

Posted by Fernando Rodr�guez on 01/21/06 21:24

Hi,

I'm writing a form that requires validation. After submission, the form fields
(mostly textboxes) are validated and if any is incorrect, the form is redisplayed
with all the value sin place so the user doesn't have to retype everything.

I'm achieving the latter this way:

<input type="text" name="whatever" value="<?php echo $_POST['whatever']
?>" >

This is fine with text boxes, but how can I do this with listboxes and option
buttons?

Thanks

 

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

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