PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I've been crawling through code to find an error which turned out to be a disabled text box not posting its data. Surely there's a way to make it post data? This is a simple script I used to test if it works, but it doesn't:
<
form method = 'post'>
<input type = 'text' name = 'disabledBox' value = 'Filled in disabled box' disabled>
<input type = 'text' name = 'enabledBox'>
<input type = 'submit' value = 'Shoot'>
</form>
<?php
if($_POST)
print_r($_POST);
?>
But this only posts the data from the text box that's enabled.