RE: form vars missing...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  
> 
> That should not effect the functionality. The VALUE tag is 
> only required for
> radio buttons and check boxes . 

You are correct.  
I tested this on my IIS 4.0 server with PHP 4.3.3RC2.

The reason for no values is most likely due to bad syntax in action.php
No errors are reported but syntax errors prohibit display of values.

This works:

<?php
if((!$_POST['name']) || (!$_POST['url'])){
	print("at least one value not passed");
}else{
	print("Name = " . $_POST['name'] . "<br>");
	print("URL = " . $_POST['name'] . "<br>");
}	
?>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux