I have a small PHP application (MVC) with a form. The action looks something like this:
<form action="<?php sprintf("/v/.../update?job=%s", $job->id);?>" method="post">
Here $job
is a PHP object I pass the view from the controller. I hold onto the id
field (an integer) so that I can update the row in the database corresponding to the object.
I'm not seeing this value in $_POST
(it is in $GET
, though) when I step into my update
function for a post request. How should I retrieve this value? Is this expected?