User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 391,554 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,562 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1059 | Replies: 1
Reply
Join Date: Dec 2006
Posts: 1
Reputation: BLADEME is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
BLADEME BLADEME is offline Offline
Newbie Poster

PHP file calling html control names

  #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...
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2004
Location: North East Indiana
Posts: 491
Reputation: Puckdropper is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 20
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: PHP file calling html control names

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 9:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC