Come in and look at this while loop which set of errors, the entire nested loop repeats once ...
Repeat the effect as shown,
-Please select- - Top-!--? php $query = "SELECT * from tbl_department where dpupid = ' 0 '"; $query _info = mysql_query ($ Query), while ($row = mysql_fetch_array ($query _info)) {?--> !--? php $query _1 = "SELECT * from tbl_department where dpupid = ' $row [dpname] '"; $query _info_1 = Mysql_que
Ry ($query _1), while ($row _1 = mysql_fetch_array ($query _info_1)) {?-->!--? php $query _2 =" SELECT * from tbl_department where dpupid = ' $row _1[i D] ' "; $query _info_2 = mysql_query ($query _2), while ($row _2 = mysql_fetch_array ($query _info_2)) {?--> ">!--? php echo $row _2[dpname]";?--""!--? php}}}?--"
Reply to discussion (solution)
$query = "SELECT * from tbl_department where dpupid = ' 0 '";
$query _info = mysql_query ($query);
while ($row = mysql_fetch_array ($query _info)) {
$query _1 = "SELECT * from tbl_department where dpupid = ' $row [dpname] '";
$query _info_1 = mysql_query ($query _1);
while ($row _1 = mysql_fetch_array ($query _info_1)) {
$query _2 = "SELECT * from tbl_department where dpupid = ' $row _1[id] '";
$query _info_2 = mysql_query ($query _2);
while ($row _2 = mysql_fetch_array ($query _info_2)) {
}
}
}
Is the screening range crossed?