I come across with various type of format, here are them
mysqli_query($con,"UPDATE Persons SET Age=36
WHERE FirstName='Peter' AND LastName='Griffin'");
and
SELECT ALL FROM users WHERE user_id=:user_id
..and about mysql_query, it works without the $con parameter, explain? thanks