Quantcast
Channel: Tópicos
Viewing all articles
Browse latest Browse all 14700

Isset

$
0
0
Boas é possível fazer dois isset, tipo isto...

]Código (PHP):
<form method="post" >

<table width="435" border="1" align="center">
<tr>
<td width="80">Exmplo:</td>
<td width="261"></td>
<td width="72"> </td>

<tr>
<td> </td>
<td> </td>
<td><input name="upload" type="submit" value="Guardar" /></td>
</tr>
</table>
</form>
<?php
if(isset($_POST['upload'])){
echo "sou o isset Upload";
?>
<form method="post" >

<table width="435" border="1" align="center">
<tr>
<td width="80">Exmplo VER:</td>
<td width="261"></td>
<td width="72"> </td>

<tr>
<td> </td>
<td> </td>
<td><input name="ver" type="submit" value="Guardar" /></td>
</tr>
</table>
</form>
<?php if(isset($_POST['ver'])){
echo "sou o isset ver mas tambem quero ver o isset upload";
}
}

?>


mas o segundo não sair ficar visivel depois do submit

Viewing all articles
Browse latest Browse all 14700