I have a POST that isnt posting any form data to the page that it calls. Can anyone see why? The onclick has also tried ths.form.submin()
echo '<form name="default" action="wepage.php'" method="post">'."\n";
echo '<input type ="checkbox" name="nMakedefault" value="vMakedefault" onclick="document.forms[\'default\'].submit()">'."\n";
echo '</FORM>'."\n";
POST not posting
Moderator: General Moderators
Re: POST not posting
I'm afraid I can't understand your post. If you want some help, please try again to explain what you want.
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: POST not posting
How are you retrieving the POST data?
Re: POST not posting
The information is sent to 'wepage.php' (Sure its not meant to be webpage.php?)
You must then on that page use
to retrieve the data 
You must then on that page use
Code: Select all
$_POST['input'];Re: POST not posting
Code: Select all
$_POST['[color=#FF0000]nMakedefault[/color]'];- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: POST not posting
Put the following PHP code on the page the form's action's value in your original post points to.
Code: Select all
<?php
print_r($_POST);
?>