Hi guys,
I've a little problem i have a fileld in my database that i want to check. If is null to display some text else display another text. I've manage to do something like this but doesn't work. The code is below:
<?php
$result = @$mysqli->query("SELECT * FROM depanarecuora_clients WHERE paid_status = '$paid_status'");
while ($result = mysqli_fetch_assoc($result))
if (is_null($paid_status)) {
echo "some text";
}
?>