My first suggestion is to rewrite your query to return something you can use. If that's not an option, you'll need to extract the pieces yourself using regular expressions or some similar approach.
For example:
$pattern = '/(\w+)\s+(\d+)\s+(\w+)\s+[\d:\.]+\s+(\d+)/';
$replace = '${1} ${2} ${3} ${4}
echo preg_replace($pattern, $replace, $result['adddate']);
*should* print "Mon 18 Aug 2003".
Take care,
Nik
http://www.bigaction.org/