<?php if ($_GET['funcao'] == "editar") {
$id= $_GET["id"];
$resultado = mysql_query("SELECT * FROM aluno where id='$id'");
while($usuario = mysql_fetch_assoc($resultado)){
$id= $usuario['id'];
$nome = $usuario['nome'];
$apelido = $usuario['apelido'];
$email = $usuario['email'];
$foto = $usuario['foto'];
$curso = $usuario['curso'];
$turma = $usuario['turma'];
$data_nascimento = $usuario['data_nascimento'];
$telefone= $usuario['telefone'];
$responsavel= $usuario['responsavel'];
$contato_responsavel= $usuario['contato_responsavel'];
$login= $usuario['login'];
$senha= $usuario['senha'];
}
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Alterar Alunos |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Insira os seus dados para que possamos efetuar o cadastro!
Atenção: Os campos que contiverem (*) são obrigatorios !
|
|
|
|
|
|
|
|
|
|
Nome Completo: |
* |
Apelido: |
* |
Email |
* |
Foto: |
id="label8" size="30" maxlength="150" />
* |
Curso |
id="label8" size="30" maxlength="150" />
* |
Turma: |
id="label10" size="20" maxlength="50" />
* |
Data de nascimento |
id="label10" size="20" maxlength="50" />
* |
Contato |
id="label10" size="20" maxlength="50" />
* |
Responsável: |
id="label10" size="20" maxlength="50" />
* |
contato do responsavel: |
id="label10" size="20" maxlength="50" />
* |
Acesso Ao Sistema |
Login: |
id="label11" size="40" maxlength="200" />
?* |
Senha: |
type="password" id="label12" size="40" maxlength="200" />
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php }?>