Hi everyone, can you help me understand the logic why I can't access one of my the items in POST.
Here is my form:
<form action="insert2.php" method="POST">
<table border="0">
<tr>
<td width="40%"><b>Date:</b></td>
<td width="60%"> <input type='text' name="today" placeholder='<?php echo $today ?>' disabled='disabled'> </td>
</tr>
<tr>
<td width="40%"><b>User ID:</b></td>
<td width="60%">
<input type="text" name="userid" placeholder='<?php
echo $_GET['message'];
?>'>
</td>
</tr>
</table>
<br>
<br>
<font color="#990000" size="5px"> [ Choose the appropriate status, and edit the text field for the appropriate action ] </font>
<br>
<br>
<table border="0">
</FORM>
When I var_dump($_POST);
it says that ["userid"]=> string(0)
while in fact, it has a placeholder value and the value is displayed, but why I can't pass it?
Any help would be very much appreciated. Thankyou.