Page 1 of 1

to array or not to array that is the question.

Posted: Wed Mar 10, 2010 2:12 am
by gotornot
Hi

I am collecting data from the page before using $_REQUEST i need to process the data and send it to another URL in a post string.
however i need to collect the data and assemble it together would i use an array to do this?

i am already using a string replace to do the standard data ie:

http://www.yoursite.co.uk/script.php?na ... ail={email}

And heres where it gets complicated i need to loop through all the other fields and add them to the end of the above url do i add them to an array:

$extraq = array(SOMETHING HERE);

Or is there an easier way