example I have table with column like this :
L1 | L2 | L3 | L4 | L5
2 | | 1 | |
I want, if 1 of the 5 columns filled with value then will do something.
In PHP code so far :
<?php
//query to get all value of column
while ($data = oci_fetch_array($//query))
{
$l1 = $data['L1'];
$l2 = $data['L2'];
$l3 = $data['L3'];
$l4 = $data['L4'];
$l5 = $data['L5'];
}
//How can I check if 1 of the 5 column filled ?
if(bla bla)
{
}