PHP file calling html control names

Reply

Join Date: Dec 2006
Posts: 1
Reputation: BLADEME is an unknown quantity at this point 
Solved Threads: 0
BLADEME BLADEME is offline Offline
Newbie Poster

PHP file calling html control names

 
0
  #1
Dec 3rd, 2006
Hi, need sum help... http://www.phpfreaks.com/forums/Smileys/default/huh.gif

I've created a php file which writes an xml file, and a web page which accepts user input into html buttons' values.

What I want to do now is take that information from the html buttons and use the values stored in the html buttons, and write them to the xml file.

Do you create php variables and assign them the values straight from the html controls?

How would I do this? anybody? http://www.phpfreaks.com/forums/Smil...mbarrassed.gif...
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: PHP file calling html control names

 
0
  #2
Dec 4th, 2006
Use the $_POST or $_GET super globals to get the information from HTML forms. (That's a good search term for your problem.)
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC