Search found 6 matches

by wsmeyer
Sat Aug 28, 2004 12:33 am
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

I cannot believe how long I have been staring at this and how many different things I tried and it was just a spelling mistake all along!

Thanks for all your help!

William.
by wsmeyer
Fri Aug 27, 2004 11:15 pm
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

hopefully this will clear some of that up if(@$_POSTї"act"]=="tracking"){ do_stock_management(trim($_POSTї"id"])); if(trim($_POSTї"authcode"]) != "1ZA918R503") $sSQL = "UPDATE orders set ordExtra2='" ....
by wsmeyer
Fri Aug 27, 2004 10:56 pm
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

I've palying with it since posting and have this now if(@$_POSTї"act"]=="tracking"){ do_stock_management(trim($_POSTї"id"])); if(trim($_POSTї"authcode"]) != "1ZA918R503") echo 'authcode = ' . $_POSTї&q...
by wsmeyer
Fri Aug 27, 2004 10:26 pm
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

if(@$_POSTї"act"]=="tracking"){ do_stock_management(trim($_POSTї"id"])); if(trim($_POSTї"authcode"]) != "1ZA918R503") $sSQL = "UPDATE orders set ordExtra2='" . mysql_escape_string(trim($_POST&#111...
by wsmeyer
Fri Aug 27, 2004 9:42 pm
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

I'm not sure what you are asking, when I replace this portion $sSQL_t = "SELECT ordEmail FROM orders WHERE ordID=" . $rsї"OrdID"]; $result = mysql_query($sSQL_t) or die(mysql_error()); list($to) = msyql_fetch_row($result); with $to="wsmeyer@atitec.com" it does...
by wsmeyer
Fri Aug 27, 2004 8:28 pm
Forum: PHP - Code
Topic: [SOLVED] php syntax error? in retrieving data from mysql
Replies: 10
Views: 683

php syntax error? in retrieving data from mysql

The code I am modifying is the order administration page of a shopping cart. This portion writes the tracking # to the database and emails the tracking # to the customer. If instead of trying to grab the email address from the database I hard code $to=wsmeyer@atitec.com; everything else works perfec...