Search found 3 matches

by Krista
Mon Aug 13, 2007 1:54 pm
Forum: PHP - Code
Topic: Parsing XML.
Replies: 4
Views: 506

Okay this worked: echo '<td>', $param, $param['name'], $param['value'], '</td>'; The problem is that I'm not sure WHY it worked ;) Why is $param only ever referring to what's between the tags <param> </param> Or should I just not worry about it and be happy I can get the values out? ;) Krista
by Krista
Mon Aug 13, 2007 1:33 pm
Forum: PHP - Code
Topic: Parsing XML.
Replies: 4
Views: 506

Okay, that returned: object Sleep text text text But how can I get it to return the param name="1" and value="1" It's returning the text between the tags, find, but these are sort of like surveys. The param name is supposed to be the question number, and the param value is the an...
by Krista
Mon Aug 13, 2007 1:12 pm
Forum: PHP - Code
Topic: Parsing XML.
Replies: 4
Views: 506

Parsing XML.

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I've been...