[PHP] Re: using strcmp()

2003-03-16 Thread Anthony Ritter
Justin Garrett wrote: > You were missing a semicolon: > $result=strcmp($firstword, $secondword); ... Thank you Justin and all other. TR -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: using strcmp()

2003-03-16 Thread Justin Garrett
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... Tony Ritter .. =1) { $statement="comes