In the following loop:
foreach($gig_array as $value){
echo $_POST['gig_info']. ".";
echo $_POST['ticket_info']. ".";
if($value->title == $selected){
echo "VALUE FOUND
";
$value->blurb = $_POST['gig_info'];
$value->tickets = $_POST['ticket_info'];
}
}
I cannot seem to get the $value to maintain the change once the loop has completed. Maybe im misunderstanding the the foreach loop in itself but doesn’t $value represent an array entry and therefore shouldn’t changes made to the $value var propogate to the array??
Any ideas?
Cheers.