Jump to content

to array or not to array that is the question.


gotornot

Recommended Posts

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?name={name}&email={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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.