2
I have a data listing on a page. There an 'edit image' serves as a link to another page where this data is displayed again (in addition to the other data of the client) and it is possible to edit them. As follows, the target page is edit.php
In this link I want to go through parameter the client ID so that on the screen edit.php I can manipulate this client and display his data again. All via POST.
had thought of something like: href="edit.php? Fields('id_usuario'); ?>"
Want to post the code so we can take a look?
– Sr. André Baill
But this method that you put there is via GET, via POST is different... But you can do so yes, ai only in your query search where id = $_GET['id'];, edit.php? id=id_usuario
– Sr. André Baill
$sql = select" here selects the data in the database "; $usuarios = Query($sql, $connected); so far all right. is taking the values at the base and displaying on the screen in a list. for each name displayed in the list, a link appears to click and edit, where a new screen is opened with these fields already filled and available for editing. the link that leads to the new screen is: <a href="edit.php? id=<? $usuarios->Fields('id_usuario'); ? >"><div class="col" style="width:25px" align="left"><img src="Edit.png" alt="Edit" name="id"></div></a> passing the parameter thus not working
– PHP developer
Posted as question @Phpdeveloper
– Sr. André Baill