mardi 13 juillet 2021

How to not fetch blank data from phpMyAdmin with IF condition?

How would I make sure the PHP code doesn't fetch blank data from phpMyAdmin? What should be written in IF condition?

IF(!empty($var) || $var!="" || $var!=" " || !is_null($var))
{

}

like above or something else need to write?

I have written above statement but still it is not working

Aucun commentaire:

Enregistrer un commentaire