MidgardTree Posted September 13, 2009 Share Posted September 13, 2009 Hi- Thought this was going to be easy...now, not so much. Suppose I have a form. The user enters some data into a field. Suppose there is a "check syntax" button. The user clicks on it, the field sends the entered data to a php script, which analyzes the data and (should) return a variable that contains "good" or "bad." It might even send back a modified string of the original data with annotated comments saying why it is bad. I want to display the returned value on the same form, preferably under the submitted field: Enter code: [original data] <button: check syntax - calls php script for validation> [display return value from php script with results from check] Could someone please explain exactly how to accomplish this? Many thnx, -Midgard Link to comment https://forums.phpfreaks.com/topic/174104-display-return-value-from-script-in-form/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.