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

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -