Q1 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <a href="add_user.php?username=Jose&email=jose@gmail.com&status=a">Adicionar</a> <form action="add_user.php" method="post"> <label for="username">Nome:</label> <input type="text" name="username"> <label for="e-mail">Email:</label> <input type="email" name="e-mail"> <label for="status">Status:</label> <input type="radio" name="status" value="a"> Ativo <input type="radio" name="status" value="i"> Inativo <input type="submit" name="ok" value="Cadastrar"> </form> </body> </html> <?php $username = $_POST['nome'] $email = $_POST['email'] $status = $_POST['status'] $servidor = 'bd.ifac.edu.br'; $usuario_bd = ‘ user_bd_ifac’; $senha_bd = ’abc@123’; $nome_bd = ‘banco_teste’; $porta_bd = ‘3306’; mysqli_conect($servidor, $usuario_bd, $senha_bd, $nome_bd, $porta_bd); ?> <?php $dados_user = array (array (1,'Pedro','pedro@gmail.com','a'), array (2,'Ana','ana@gmail.com','a'), array (3,'Andre','andre@gmail.com','a'), array (1,'Juca','juca@gmail.com','i')); echo ‘table’; echo ‘<tr><th>Nome</th><E-mail></th><th>Status</th></tr>’; echo ‘/table’; ?>