I tried all sorts of 'combos' just to make it kick! BUT, with no luck.
Lets look at the simpliest form option. No '?' options.
A simple sent to a handler and 'auto' return back with
a 'flag' to either display a msg or not.
When I try to enter that code, I get headers were sent errors.
The sender File extract:
<table width="475">
<tr>
<td dir="rtl" width="304">A
<?php
if ($MissingName == "YES")
{
echo "MISSING NAME";
}
?>
<input type="text" size="35" maxlength="256" name="UserName" value=""></font></td>
Handler file:
if($UserName == ""){
header (Location😛roduct.php?$MissingName=yes)
}
?>
<html>
<head>
<title>MyTitleHere</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
</head>
/* WHERE DO I PUT THIS LINE AT??
echo "<input type=\"hidden\" name=\"MissingName\" value=\"YES\">";
*/
<?php