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']."
Last edited by brechtjah; Apr 8th, 2009 at 1:17 pm.
Reputation Points: 26
Solved Threads: 9
Junior Poster in Training
Offline 92 posts
since Nov 2008