[PHP] How to jump into and loop through XML element

2008-08-04 Thread Ethan Whitt
PHP newbie coming over from Perl. Been trying to convert some of my Perl scripts over to PHP5. I am making a request to Amazon and receiving the following response. How can I jump down to the Item element and loop through all the ones that exist. I have been trying to do this with XML Simple,

Re: [PHP] Newbie Question: How to pass URL info to .php script ?

2008-06-19 Thread Ethan Whitt
, 2008 at 9:59 PM, Nathan Nobbe [EMAIL PROTECTED] wrote: On Wed, Jun 18, 2008 at 10:45 PM, Ethan Whitt [EMAIL PROTECTED] wrote: Not sure how to achieve this. How can I grab a portion of a URl to send to a .php script in this fashion? www.test.com/article/3435 - Grab the 3435 to process

[PHP] Newbie Question: How to pass URL info to .php script ?

2008-06-18 Thread Ethan Whitt
Not sure how to achieve this. How can I grab a portion of a URl to send to a .php script in this fashion? www.test.com/article/3435 - Grab the 3435 to process in a script? Thanks in advance! Ethan

[PHP] How to structure code for forms

2008-06-08 Thread Ethan Whitt
I am new to PHP and have been researching ways to structure code for forms. I have found a few basic tutorials that present, validate present errors, and then process form data. I was wondering if anyone could share their approach on how they structure these actions? Ideally, I would like to