You are here: Re: Form Variable « PHP SQL « IT news, forums, messages
Re: Form Variable

Posted by Adam Plocher on 01/19/06 23:55

Let me see if I understand you correctly.. you want to have a PHP
generated value returned from the web server when a user changes a form
value (but before they submit the form)?

If this is correct, you'll need to do this with either a auto-postback
when you leave that field or put a button on your page that the user
has to click to generate a new number. Regardless, you'll need to post
back to the web server in order to have the web server generate a new
value. This could be a good place to use AJAX, too.

You could have JavaScript do it for you, but what is it's uniqueness
based on? If it's based on a database value, then javascript probably
wouldn't be the best.

 

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

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