i dont know what is the issue and it is not giving me a error in the error_log.
i have a variable that collects from the url to be put into the query were the DB field would go. i know that is is the part that is not working cause right after this is the part where is moves the uploaded file to the proper place. and yes it does have a DB connection at the top. and no when i go to the file it does not give me a error read out either and i do have errors print out
$query = "UPDATE properties SET $imagenum='$filename' WHERE id='$id' ";
$result = mysql_query($query);
i have even tried
$query = "UPDATE properties SET ".$imagenum."='$filename' WHERE id='$id' ";
$result = mysql_query($query);
thanks in advance.