On 04 November 2003 20:43, Pablo Gosse contributed these pearls of wisdom:
On Tuesday, November 04, 2003 12:45 PM Kevin wrote:
[snipped]
How can I test for it without getting an error if it is not
checked??
[/snipped]
Hey Kevin. Use isset($var) to test if a var has been set.
So you
On Tuesday, November 04, 2003 12:45 PM Kevin wrote:
[snipped]
How can I test for it without getting an error if it is not checked??
[/snipped]
Hey Kevin. Use isset($var) to test if a var has been set.
So you would need:
If (isset($_POST['checkboxname']) $_POST['checkboxname'] == 'on')
{
2 matches
Mail list logo