General discussions related to php
1 post • Page 1 of 1
for your second function, inside the function, print this query....$myQuery='Select * from php_shop_products where product_id='.$productid; and then run it against your database using a client like phpmyadmin and make sure that this query will return something. Looks like it is returning nothing or '0'.
Who is online
Users browsing this forum: Baidu [Spider] and 1 guest