i am getting the list of values from databas table, some values are null, i want to show the values, which are not null. example is as follow,
//sql query
while ($row =mysql_query($result))
{
$carBrand =$row['brandName'];
$carMod = $row['model'];
$carModYear =$row['modYear'];
$regCity =$row['regCity'];
$demand =$row['demand'];
//some of them are null, i want to print here only those are not null
}
actully i have no idea how to do it...
please help..