i have a database and accessing trough PHP
I connected to database with required credentials
I have a form(html) from where i am getting the required values to enter into the database
i am doing something like this
Values from form
$value = $_POST['id'];
$value1 = $_POST['title'];
and using mysql syntax like this
$sql = "UPDATE table SET title='$value1' where id ='$value'";
Well is there any syntax error in "" or '' ??
And how to display errors in PHP??
Help appreciated