I found a work-around...and probably a better overall solution but now I have a new problem.
Here is the situation. I have PHP set to send an email to my client each and every time an order is placed on their web site. In the email I want to have a link which will allow them to click on the link and print that specific order.
I am just missing something I am sure:
Here is the code
notify="";
$notify=$notify."<DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">";
$notify=$notify."<html>";
$notify=$notify."<head>";
$notify=$notify." <meta http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\">";
$notify=$notify." <title>Order Placed</title>";
$notify=$notify."</head>";
$notify=$notify."<body>";
$notify=$notify."<FONT SIZE=\"+2\" COLOR=\"navy\">New Order!</FONT>";
$notify=$notify."<FORM ACTION='http://www.mydomain.com/admin/printorder.php' METHOD='POST'>";
$notify=$notify."<P>Order number <B>".$myorderid."</B> has been placed.</P>";
$notify=$notify."<P><A HREF='http://www.mydomain.com/admin/printorder.php?"."$myorderid"."'>Click here to print this order.</A>";
$notify=$notify."</FORM>";
$notify=$notify."</body>";
$notify=$notify."</html>";
I have been playing with various forms of POST and GET but nothing seems to work.
The printorder.php page works find when I submit a form from a page that has a field to enter the order number you wish to print so I know I have goofed up something in the email portion of things.