breeze351
asked on
Problem with $_POST
This should be an easy one that I can't see.
Code from Page 1:
echo '<td style= "text-align:left"';
echo ' font color= "black" class="Body_Labels">';
echo '<a href="Image_Update.php?id= ';
echo $_SESSION['Misc'];
echo '">';
echo $ROW_PICT['DESCR'];
echo "</a>";
echo "<br><br>";
echo "</td>";
The display of the source code from this page shows:
<a href="Image_Update.php?id= 400 Madison Avenue">400 Madison Avenue</a><br><br></td>
Image_Update.php loads with the following on the url line:
http://mrbreeze.net/Image_Update.php?id=400%20Madison%20Avenue
So far so good.
When I try to get the data with:
$work = $_POST['id'];
I get the following error:
Undefined index: id in /home/mrbreeze/public_html /Image_Upd ate.php on line 16
Code from Page 1:
echo '<td style= "text-align:left"';
echo ' font color= "black" class="Body_Labels">';
echo '<a href="Image_Update.php?id=
echo $_SESSION['Misc'];
echo '">';
echo $ROW_PICT['DESCR'];
echo "</a>";
echo "<br><br>";
echo "</td>";
The display of the source code from this page shows:
<a href="Image_Update.php?id=
Image_Update.php loads with the following on the url line:
http://mrbreeze.net/Image_Update.php?id=400%20Madison%20Avenue
So far so good.
When I try to get the data with:
$work = $_POST['id'];
I get the following error:
Undefined index: id in /home/mrbreeze/public_html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It happens to all of us - you are welcome.
ASKER
Thanks
Glenn