I want a link so a user can "Bail" out at this point in the script though the variable $image_id must be sent if the link is clicked.
This works, as a constant:
<a href="edit_image.php?id=151" target="_self">BAIL</a>
I've tried many different configurations but can't get it to append as a variable an therefore my GET[] doesn't get it on the other end.
None of these work:
<?php $image_id="151"; ?>
<a href="edit_image.php?id=.$image_id." target="_self">BAIL</a>
<a href="edit_image.php?id=$image_id" target="_self">BAIL</a>
<a href="edit_image.php?id=.'$image_id'." target="_self">BAIL</a>
<a href="edit_image.php?id='.$image_id.' " target="_self">BAIL</a>
thanks for assistance