Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

$_POST reads an empty array

$
0
0

This has me stumped.  It was workign fine but 30 minutes ago!

 

Body of my form:

<form name="form1" id="form1" action="process.php" method="post">
<textarea cols="50" rows="4" id="src" name="src"></textarea>
<input type="submit" value="Submit">
</form>

process.php:

<?php print_r($_POST); ?>

process.php displays:

Array()

regardless of what I have in the text box.


Viewing all articles
Browse latest Browse all 13200

Trending Articles