in reply to Does Perl have if(isset?
According to the PHP documentation on isset(), the function returns true if the variable has a defined value. This would be equivalent to the defined function of Perl:
$comment= param('comment') if defined param('comment');
I think the $_POST hash in PHP is populated by HTTP POST parameters - you would have to check that too.
|
|---|