Problem in passing value
[email protected] ("Joe Phyism") Sat, 21 Jun 2003 16:43:19 +0800
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
I am using Apache and PHP as local web server.
I have the following script as show.php
<?
if ($a==1) {
echo "True."
} else {
echo "False."
}
?>
However, when I type http://localhost/show.php?a=1, it shows "True.", why?
Is there any problem in my setting of Apache server?
Can anyone help me? Thank you.