I have a MYSQL query running that returns a single string of data but it is returned as an array.
What I need to do is store that single piece of data in a variable. I know it's probably a really simple process but it has been irritating me for far too long.
the result I get when I use print_r($result) is:
Array ( [ADDDATE('2007-04-05', INTERVAL 6 DAY)] => 2007-04-11 )
I can't figure out how to store the 2007-04-11(the result) into a single variable named $end_date.
Please Help!
I know this is a quick one for most of you guys and it's gonna kill me when I see the answer but please save my sanity!
thanx in advance!