Aşağıda ki kodları mysql den mysqli ye çevirebilir misiniz. Teşekkür ederim.
if ($f == 'status_update') {
$test = mysql_query("select * from posts where id='".$_GET["id"]."'");
$test = mysql_fetch_object($test);
if($test->recipient_id==$user = $wo['user']['user_id'])
{
mysql_query("update posts set status='1',time='".time()."' where id='".$test->id."'");
header("Location: ".$_SERVER["HTTP_REFERER"]."");
}
}
$userget = mysql_query("select * from Users where username='".$_GET["u"]."'");
$userget = mysql_fetch_object($userget);