Jump to content

Código não funciona


Recommended Posts

Alguém me consegue ajudar a corrigir o erro?


include ('ligacao.php');
$sql="SELECT * FROM utilizador WHERE id_utilizador='$id_utilizador' ";
$result = mysqli_query($sql);
$row = mysqli_fetch_array($result);
<p><b>Registo de Utilizadores</b></p>
<form name="registo de utilizadores" method="post"
Nome:</td><td><input name="nome" type="text" size="50" maxlenght="50" value=”<?php
echo $row['nome']?>”>
Morada:</td><td><input name="morada" type="text" size="50" maxlenght="50"
value=”<?php echo $row[morada']?>”>
<td><input name="email" type="text" size="50" maxlenght="50" value=”<?php echo
<td><input name="telemovel" type="text" size="12" maxlenght="12" value=”<?php echo
<input name=”id_utilizador” type=”hidden” value=”<?php echo
$row['id_utilizador']?> ”>
<td><input type="submit" name="enviar" value="ALTERAR"></td>


Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.