You are here: Filling a text box when radio button is clicked « PHP Programming Language « IT news, forums, messages
Filling a text box when radio button is clicked

Posted by KDawg44 on 03/07/07 20:16

Hi,

I am writing a PHP website. When I am taking some input from a user,
I write some static radio buttons for a category, and then also write
some more that are generated based on a query to a database. I would
like to have a text box for a description of the category. I would
like that to be able to be typed in if the user selects on of the
static options but automatically filled in by data from the database
if they select one of the radio buttons that are DB generated. I
would also like to be able to prevent the user from changing the text
box if it is filled in with DB data (if possible, not that big of a
deal if too difficult).

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

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