The code looks like this:
Code: Select all
<$php
$param = $argvї1];
echo $param;
?>Code: Select all
E:\PHP>php -f "m:\reportnt.php" Thisisaparameter
PHP Notice: Undefined variable: argv in m:\reportnt.php on line 24
E:\PHP>Paul
Moderator: General Moderators
Code: Select all
<$php
$param = $argvї1];
echo $param;
?>Code: Select all
E:\PHP>php -f "m:\reportnt.php" Thisisaparameter
PHP Notice: Undefined variable: argv in m:\reportnt.php on line 24
E:\PHP>