You're missing the ; on this line:
$result=strcmp($firstword, $secondword)
Anthony Ritter wrote:
The following test script for the function strcmp() is from page 114 -115 of
PHP (Hungry Minds).
I'm getting a parse error on line 6.
Using PHP 4.1.1 / MS Win 98 / Apache Server.
Many thanks...
T
You need a semicolon after the strcmp() function
$result=strcmp($firstword, $secondword);
LinuxGeek
Anthony Ritter wrote:
The following test script for the function strcmp() is from page 114 -115 of
PHP (Hungry Minds).
I'm getting a parse error on line 6.
Using PHP 4.1.1 / MS Win 98 / Apache S
The following test script for the function strcmp() is from page 114 -115 of
PHP (Hungry Minds).
I'm getting a parse error on line 6.
Using PHP 4.1.1 / MS Win 98 / Apache Server.
Many thanks...
Tony Ritter
..
=1)
{
$statement="comes after";
}
else if
3 matches
Mail list logo