3
I have a registration screen where the user can change his data and after clicking the 'Save changes' button the changes are made in the database. Follow the button I created in the user editing window:
<input type="submit" name="atualizarusuario.php?id=<? echo $usuarios->fields['id_usuario']; ?>" value="Salvar alterações">
On the 'actualizrusuario.php' screen I want to take this ID to the top of it to update and then display on this screen the message that the change was successfully made. I’m getting the ID like this:
$id = $_GET['id'];
however, if I give a echo $id
, is not bringing the ID. What the error?