Jump to content
Fórum Script Brasil
  • 0

Posicionamento de Button com código PHP

Renê Ribeiro Mendes


Bom Dia,

Tenho o código abaixo....e preciso posicionar o BUTTON ao final da tabela, como faço?Pois da forma abaixo está exibindo no inicio da tabela.

<form action="" method="post">
 $result=@mysql_query("select * from user ORDER BY ID");
     echo "<table width=900 border=1>";
     echo "<tr>";
     echo "<td>Nome</td>";
     echo "</tr>";
     echo "<tr>";
     echo "<td>".$row["NOME"]."</td>";
     echo "</tr>";
      <input type="submit" value="Cadastrar" name="botao">

<?if (isset($_POST["botao"]))
 header('Location: cadastrar.php'); 


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Create New...