cslinux Posted September 7, 2009 Share Posted September 7, 2009 While trying to retrieve orderid from function actionhook_InvoicePaid($vars) , always i got $vars["OrderID"] =3 , here's how I'm querying the DB as follows : $sbquery1 = "SELECT domain FROM tbldomains WHERE (orderid = " .$vars["OrderID"] . ")"; $result1 = mysql_query($sbquery1); if (!$result1) { echo "Could not successfully run query ($sbquery1) from DB: " . mysql_error(); } print "The OrderID :" . $vars["OrderID"] . "<p>"; May anyone correct me if i'm wrong ?, i'll do appreciate it. Thanks 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.