1
I have the following excerpt:
<html>
<form name="sai_frm_incl_patr" method="post" action="sai_incl_peri_seri_patr.php">
<body>
<table border="0" width="100%">
<tr>
<td colspan="3" bgcolor="Silver" align="center">
<b><font face="arial" color="blue" size="2">Inclusão de Patrimônio e serial</font>
</td>
</tr>
<tr>
<td>
<input type="hidden" id="id_pat" name="w_patr_seri" value="aaaaa">
</td>
</tr>
</table>
</body>
</form>
</html>
And on the page that’s getting the data I do it:
<?php
$w_patr = trim($_POST['w_patr_seri']);
?>
But the variable contains no content! What must be the error? Or what am I doing wrong?'
@Tiagosilva, I tried that way but it still doesn’t work =/
– Alexandre
Dude, how are you sending this form??? from what I’ve seen, you don’t have any Ubmit for this form, and its input is Hidden... already looked if the data is being sent by firebug?
– lleitep3