GsXtAsY Posted June 25, 2008 Share Posted June 25, 2008 This was working yesterday...I dont think I changed anything on this file and I am not receiving any errors...it just will not print out onto the email at all...anything look wrong? I may have accidentally deleted something and uploaded the file when I was closing out dreamweaver $qry_shared_email = "SELECT teaming_shared_account FROM account WHERE nickname = '".$order_details['account_name']."'"; $result = mysql_query($qry_shared_email) or die('Invalid query: ' . mysql_error()); while($row = mysql_fetch_array($result)) { if ($row['teaming_shared_account'] == 1) { $message .= '<h2>This is a Affinity Account</h2>'; } } Quote Link to comment https://forums.phpfreaks.com/topic/111908-solved-was-working-yesterdaynow-its-not/ Share on other sites More sharing options...
ohdang888 Posted June 25, 2008 Share Posted June 25, 2008 try: $account_name = $order_details['account_name']; $qry_shared_email = "SELECT `teaming_shared_account` FROM `account` WHERE `nickname` = '$account_name' "; Quote Link to comment https://forums.phpfreaks.com/topic/111908-solved-was-working-yesterdaynow-its-not/#findComment-574403 Share on other sites More sharing options...
GsXtAsY Posted June 25, 2008 Author Share Posted June 25, 2008 Nope still no error and still not printing anything in the email...any other suggestions Quote Link to comment https://forums.phpfreaks.com/topic/111908-solved-was-working-yesterdaynow-its-not/#findComment-574413 Share on other sites More sharing options...
.josh Posted June 25, 2008 Share Posted June 25, 2008 assuming $order_details['account_name'] isn't empty, there's nothing wrong with that code. You'll have to post the mail(..) relevant code. Quote Link to comment https://forums.phpfreaks.com/topic/111908-solved-was-working-yesterdaynow-its-not/#findComment-574423 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.