Simple log editing with PHP + MySQL

Posted on

Question :

Basically the three scripts should edit a record in the Database:



// Aqui vocĂȘ se conecta ao banco
= new mysqli('', 'root', '', 'login');

// Executa uma consulta
= "SELECT 'user_id', 'user_name' , 'user_email' , 'user_data' FROM 'users'";
= $mysqli->query($sql);
while ($dados = $query->fetch_assoc()) {
= $dados["user_id"];
= $dados["user_name"];
= $dados["user_email"];
= $dados["user_data"];

echo "<a href="editar.php?id=$id"">

Answer :

Editar <


Leave a Reply

Your email address will not be published. Required fields are marked *