What is your output then? Also there appears to be a mistake in your query. I presume ID is a number, then there is no need for single quotes. So...
where id = '".$row['cid']."'
becomes
where id = ".$row['cid']."
brechtjah
Junior Poster in Training
92 posts since Nov 2008
Reputation Points: 26
Solved Threads: 9