Quote:
quote:Originally posted by Snib
$query = "SELECT * FROM customer WHERE cust_id='".$_POST['cust_id']."' LIMIT 1";
|
Sorry,it still same.
Isn't $POST is use to pass the value from a form?
Quote:
quote:
suspect your $_POST['cust_id'] doesn't contain any data.
|
May be you right, $_POST['cust_id'] doesn't contain any data.
Sorry, I doesn't say my word so clear.
First, user must insert the prod_id to view the product detail (view.php). Next page(view_pro.php)will display the selected product detail. At the same page,I want it can view the customer detail who order the product.
My problem is, it only can view the product detail.
So, want should I write the query to view the data?
Thanks in advance.