telsiin Posted March 5, 2010 Share Posted March 5, 2010 Hello Everyone I need a little help I have a select statement and I need to make a query base on a Class variable pass from paypal. mysql_select_db($database_mobile, $mobile); $query_Recordset1 = "SELECT * FROM invoice WHERE invoice.invoice= '$p->ipn_data[invoice]'"; $Recordset1 = mysql_query($query_Recordset1, $mobile) or die(mysql_error()); $row_Recordset1 = mysql_fetch_assoc($Recordset1); $totalRows_Recordset1 = mysql_num_rows($Recordset1); Link to comment https://forums.phpfreaks.com/topic/194194-syntax-help-using-class-variables-in-select-statement/ Share on other sites More sharing options...
trq Posted March 5, 2010 Share Posted March 5, 2010 $query_Recordset1 = "SELECT * FROM invoice WHERE invoice.invoice= '{$p->ipn_data['invoice']}'"; Link to comment https://forums.phpfreaks.com/topic/194194-syntax-help-using-class-variables-in-select-statement/#findComment-1021826 Share on other sites More sharing options...
telsiin Posted March 5, 2010 Author Share Posted March 5, 2010 Thorpe you are so the Man! :) You have no idea how long I been trying to figure that out You have my gratitude and appreciation. Antonio Link to comment https://forums.phpfreaks.com/topic/194194-syntax-help-using-class-variables-in-select-statement/#findComment-1021936 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.