![]() |
|
#1
|
|||
|
|||
PHP5 / XML API help!Hello,
I'm trying to prase and use information I'm getting from an XML API in my system. The user is supposed to be able to choose between the returned agents and then select one of them. When they click "continue" or similar the rows of the agent that the user selected should be saved/assaigned to different PHP variables. Here is the structure of the XML return: Code:
Now I need to list the agents so that the user can select one of them.. I've understood that I should use SimpleXML for this since it is the easiest way. PHP Code:
That about what I've managed to do, I understand that in some way I need to list the different agents. PHP Code:
Then I would need to add so that the user can select one of the returned agents and click continue and that my script then can get the rows/information about the selected agent. Maybe HTML POST/GET but I don't know how to make it do that... I appreciate any help, links, code or whatever I can use to solve this problem. Thanks /Oskar |
Recent GIDBlog
NARMY by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suprhost.com - Ad-free - 500mb webspace - 5gb bandwidth - PHP5 & MySQL | jasperk | Free Web Hosting | 0 | 27-Feb-2007 12:54 |
| ●●● DIMENSION SERVERS | PHP4 & PHP5 | Ruby on Rails + GEMS | NEVER OVERSOLD! | ●●● | jmcallister | Managed / Dedicated Servers | 0 | 30-Dec-2006 23:42 |
| libphp5.so is not created after successfull installation of php5. | jenish | MySQL / PHP Forum | 3 | 25-Feb-2006 13:13 |
| XML parser in PHP5 | FranKieCZ | MySQL / PHP Forum | 0 | 28-Oct-2004 05:22 |
| problem with php5 cgi installation | fab13 | Apache Web Server Forum | 3 | 19-Nov-2003 09:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The