I'm recording numbers on my database using a textfield, $_REQUEST and $_GET commands.

I have this code
PHP Code:
if(isset($_REQUEST['Cost']))
$each_cost=$_REQUEST['Cost']; //array of costs entered
else if(isset($_GET['Cost']))
$each_cost=$_GET['Cost']; 
The inputed cost is recorded in the URL string and called on later when adding multiple elements to my database.
PHP Code:
foreach($each_cost as $key => $value){ $cost_string =  $cost_string."&Cost[$key]=".$value; } 
I'm finding that saving the '$cost_string' requires me to refresh the current page twice for the string to record the entered number correctly?

Any idear why?

I've noticed that the 'Cost' (in the URL) only appears after I've refreshed the page twice but I've also used the $_REQUEST function and It still isn't working?