mysql - php select query using parameter from previous page -


i wanted query database not return values @ all. wondered why when not reported error.kindly check attachment.

enter image description here

here code made.thank you.

echo '<form method = "post" action = "http://localhost:8080/nbm/delivery/show_delivery_details.php">';  $nbm = new db();  $poid = $_get['id'];// taken previous page echo $poid;//tried display ,   $get_deliveries= $nbm->query("select * `customer_order_list` purchase_order_id = '$poid'");      foreach($get_deliveries $key){      echo $key['purchase_order_id'].'&nbsp;&nbsp;'.$key['customer_id'].'&nbsp;&nbsp;'.$key['amount'];     }  print_r($get_deliveries);//also tried displays nothing  echo '</form>'; 

  $nbm->query("select * `customer_order_list` purchase_order_id = '".$poid."'"); 

Comments

Popular posts from this blog

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -