| if - inline statement
|
esso82

msg:4416662 | 7:05 pm on Feb 11, 2012 (gmt 0) | hi guys ... I have this line of code and it just doesn't work for me
$boxcont .= "<td class='list1'>".($routes2show['routes_lube'] == "0") ? 'none' : 'lubed'."</td>"; $routes2show['routes_lube'] is read from database, it is integer and it's equal to 0 (zero) ... the problem is it doesn't give any output..where am I wrong?
|
|