Hi there,
I've got a mysql query that I KNOW returns only one record.
I'm then imploding it - but when I look at the resulting string, every field in the query appears twice.....
$RetQ=mysql_db_query($DBname,"SELECT * from StoreBox WHERE ClientID = $ClientID", $Link);
$RetR=mysql_fetch_array($RetQ);
$oldvalues=implode("|",$RetR);
echo $oldvalues;
So rather that seeing 'John|Doe|Builder' as I expect (and the database contains) $oldvalues contains 'John|John|Doe|Doe|Builder|Builder'. I know the mysql table is OK because I looked!
What's going on then?