Warning: Variable passed to each() is not an array or object in D:\hshome\allure\allurehosting.com\showPlan.php on line 4
Allure Hosting
Web hosting
Web develoing
"") { ?> "; echo ""; $hdr[$cols]=$rows[0]; $cols=$cols+1; echo ""; } $query1=mysql_query("select * from m_plan_desc"); while($rows1=mysql_fetch_row($query1)) { $desc_id=$rows1[0]; $clspn=$num_cols+1; echo ""; echo ""; echo ""; echo ""; // echo "select * from m_plan_subdesc SD where SD.plan_subdesc_id in(select plan_subdesc_id from m_planVsubdesc where plan_id=$plan_id and plan_desc_id=$desc_id)"; $query2P=mysql_query("select plan_subdesc_id from m_planVsubdesc where plan_id=$plan_id and plan_desc_id=$desc_id"); while ($rows2P=mysql_fetch_row($query2P)) { $query2=mysql_query("select * from m_plan_subdesc SD where SD.plan_subdesc_id=".$rows2P[0]); // $query2=mysql_query("select * from m_plan_subdesc SD where SD.plan_subdesc_id in(select plan_subdesc_id from m_planVsubdesc where plan_id=$plan_id and plan_desc_id=$desc_id)"); while($rows2=mysql_fetch_row($query2)) { echo ""; echo ""; for($i=1;$i<=$num_cols;$i++) { $query3=mysql_query("select valplan from D_plan where plan_subdesc_id=$rows2[0] and plan_type_id=$hdr[$i]"); // echo "select valplan from D_plan where plan_subdesc_id=$rows2[0] and plan_type_id=$hdr[$i])"; $RGB="#FFFFFF"; if ($i%2==0) { $RGB="#E4E4E4"; } else { } echo ""; } echo ""; echo ""; } } } echo ""; for($i=1;$i<=$num_cols;$i++) { $query4=mysql_query("select plan_link from m_plan_type where plan_type_id=$hdr[$i]"); if ($rows4=mysql_fetch_row($query4)) { echo ""; } } ?>
Select plan
"; echo "".$rows1[1].""; echo "
"; echo ""; echo ""; // echo ""; if ($rows3=mysql_fetch_row($query3)) { echo $rows3[0]; } else { echo "-"; } echo "
"; // echo ""; echo ""; } else { echo ""; } echo "