Good afternoon all,
Can anyone tell me why this doesn't work. I have checked in the SQL2000 database and the item I am returning comes up as <NULL>.......
$col3 = odbc_result($row,3);
print "<table width=400 CLASS=NOBORDER align=center>";
print "<tr bgcolor=#A3A4C1><td align=center >Item</td><td align=center>Details</td></tr>";
if ($col3==NULL) {
print "<td bgcolor=#FF0000>Department Code</TD>";
print "<td bgcolor=#FF0000>";
print "NOT ENTERED!!";
print "</TD></TR><TR>";
}
else {
print "<td bgcolor=#B2B3F0>Department Code</TD>";
print "<td bgcolor=#B2B3F0>";
print $col3;
print "</TD></TR><TR>";
}
print "</TABLE>";
Thanks in advance for any assistance.
Neil.