View Full Version : php and js form (onchange)
06-21-2006, 11:02 PM
How can I make text from DB appear in form - textarea field after select/option onchange event?
06-22-2006, 06:14 AM
You're basically asking "How does PHP work?" Which is well answered in numerous web articles. Start with
When you get a handle on all of that, you can begin to code what you described.
06-22-2006, 07:51 AM
I understand it perfectly, I just don't know how to put it all together? I know how to put text from DB in textarea, but I can't imagine onchane event, what happens there, that my database searces for some entries? Can onchange contain some php functions? If yes, than I can make a function that opens my database, and displays the results which I want, and I will just enter that function in textarea? --- don't know if it'll work --- It also can be done with switches but this variant I'm leaving last.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.