Hi all,
What is wrong with the below query?
$query = "UPDATE news ". "SET title='$title', content='$content', image='$fileName', contributor='$name', ". "email='$email' ". "WHERE id='$id';
you haven't debugged it.
what do you see when you echo $query?