to array or not to array that is the question.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gotornot
Forum Commoner
Posts: 54
Joined: Fri Jul 31, 2009 2:30 am

to array or not to array that is the question.

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