;D
Hello all
Thanks for the past information.
This is a new error that has cropped up. no changes made to the original program. Just started to happen.
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/dmens/public_html/shoppel/system/includes/process_transaction.php on line 604
the code is as follows :
[php] $queryString = “SELECT c.coupon_expirydate,coupons_cities.cityname, coupons_country.countryname,cs.shopid, cs.shopname, cs.shop_address,cs.shop_url, cu.firstname,cu.lastname,cu.email, c.coupon_name, c.coupon_fineprints, c.coupon_phoneno, c.coupon_image, c.deal_url, cp.coupon_validityid FROM coupons_purchase cp left join coupons_users cu on cp.coupon_userid = cu.userid left join coupons_coupons c on c.coupon_id=cp.couponid left join coupons_shops cs on cs.shopid = c.coupon_shop left join coupons_country on coupons_country.countryid=cs.shop_country left join coupons_cities on coupons_cities.cityid=cs.shop_city left join transaction_details td on td.ID=cp.transaction_details_id
where cp.couponid=’$cid’ and cp.gift_recipient_id=0 and td.CAPTURED=‘1’”;
}
$resultSet = mysql_query($queryString);
if(mysql_num_rows($resultSet)>0) // LINE 604
{
while($row=mysql_fetch_array($resultSet))
{
[/php]
Thanks in advance