Code: Select all
public function plusfiled()
{
$sql = "UPDATE table SET rand = rand + 1 where id=4";
if (($conn->query($sql) === TRUE))
{
return 'rand';
}
}
Code: Select all
public function plusfiled()
{
$sql = "UPDATE table SET rand = rand + 1 where id=4";
if (($conn->query($sql) === TRUE))
{
return 'rand';
}
}