hi guys
this is my code
when i run this i get nothing as output
absolutely nothing
just blank
<?php
$query = "SELECT name , page FROM navigation WHERE id > 0 AND weight > 0 ORDER BY weight";
$result = mysql_query($query,$connect);
while($row = mysql_fetch_row($result)) {
print("<a href=\"".$PHP_SELF."?page=".$row['page']."\" target=\"_self\">".$row['name']."</a><BR>");
}
?>
but if i put $row[0] and $row[1] in the print statement i get desired output
please tell me where i am going wrong
thanks