Help in php code logic
Posted: Tue Feb 12, 2008 7:17 pm
Hello i'm new in web programming (php), and i'm doing a form thats take the following information:
Product id:
Qty:
but what i need is to make a query to the database when the user type(input data into) the field Product ID. to know if the Product Id exist or not, If exist then show the Description of the product .
this query i need to execut it before input the data into the Qty field.
example:
product id:
if $product_id = product_id
echo "product ID Description"
endIF
Qty :
Thank u for your help.
Product id:
Qty:
but what i need is to make a query to the database when the user type(input data into) the field Product ID. to know if the Product Id exist or not, If exist then show the Description of the product .
this query i need to execut it before input the data into the Qty field.
example:
product id:
if $product_id = product_id
echo "product ID Description"
endIF
Qty :
Thank u for your help.