Simple if() function not working
| From: | Ted Knudson | Date: | Sat, 01 Jul 2000 01:29:37 +0000 |
| Subject: | Simple if() function not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4206@lists.php.net to get a copy of this message | ||
I know I will be embarrass over this but I get the error:
"Parse error: parse error in /home/automat/public_html/ccquote/test.php3
on line 5" when I run this script.
The if() function is line 5.
This is a line out of a larger script that has if() functions working
perfectly.
I hope someone sees what I am missing.
<?php
$Z=1;
$Height[1] = 13;
print $Height[$Z];
If($Height[$Z] => 12 AND $Height[$Z] < 15){print "Do Something";}
?>
Ted Knudson
http://www.automatedcabinets.com
http://www.pulsarusa.com