hello, if i do this way will it cause any problem? if (isset($_POST['order_ready'])) { $id = $_GET['id']; $ref = $_GET['ref']; $orderr_ready = $_GET['orderready']; } <form name="order_ready" action="<?=$PHP_SELF;?>?id=<?=$orderr_id;?>&ref=<?=$orderr_reference;?>&orderready=No" method="post"> <input type="submit" name="order_ready" value="Mark as Order NOT READY" style="width: 340px; height:40px" /> </form> PHP:
You can because the form can be submitted to /myscript.php?id=123 However this isn't the norm. If you have any queries about what is being passed just do a var_dump() on $_POST and $_GET
Quite right, the actual inputs to the form have to be one or the other Remember to use & as well!