$result = mysql_query("SELECT * FROM products WHERE product_code='$id'");

i dont know whats the error here.

please help me

It means that either the column 'product_code' or the table 'products' does not exist, duh ;)

~G

i have product table and product code already

Are you sure you are looking at the right query ?

i think i got to restart this server...thanks for the help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.