Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php isset and test

<?php
$action1='action1';
$action2='action2';
$test=null;
if (isset($test) && $test=='test') 
echo $action1;
else 
echo $action2;
Source by ideone.com #
 
PREVIOUS NEXT
Tagged: #php #isset #test
ADD COMMENT
Topic
Name
1+8 =