Hello Friends,
I did check for tags, if there is any unclosed. However, that is in order.
My problem is occurs before drawing the table actually.
some excerpt from the code :
function bld_tbl($tblName, $semVal, $chbName, $ruleMin, $ruleMax){
global $sess_prog;
global $link;
global $sess_part;
$modStmt = "select mod_id, title, mod_wt from modid_titles_2002_2003 where prog = \"$sess_prog\" and part = \"$sess_part\" and semester = \"$semVal\" ";
$result = mysql_query($modStmt, $link);
$num_row = mysql_num_rows($result);
print($num_row); // this is returned as 0 rows in NN
.... here goes the table code.
} // end of function bld_tbl
Well, I have double checked for any unclosed tags, but there is none.
As I mentioned that the actual problem occuers before the code of table. i.e. the statement, $num_row = mysql_num_rows($result); is returing the 0 (zero) rows when run from NN and shows 9 rows when run from IE !!!
The table will be drawn only if $num_row > 0. As it has 0 rows, it is not pringing for me. So, I don't think that the problem is coz of tag.
Can someone advice please? Thanks a lot.