Monday, 3 September 2018
Subscribe to:
Post Comments (Atom)
$id = mysql_escape_string($_GET["id"]);
if(true){
$update = 'update tablename set approved=1 where id='.$id;
mysql_query($update);
echo $update;
echo '<br />database updated :)';
} else {
echo 'An error occured';
}
//mysql_close($con);
mysql_query($update);
$result = mysql_query($update);
if (!$result) {
die('Invalid query: ' . mysql_error());
}
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment