note 30490 added to function.strncmp
| From: | ivo at tijhaar dot com | Date: | Wed, 19 Mar 2003 21:46:34 +0000 |
| Subject: | note 30490 added to function.strncmp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45530@lists.php.net to get a copy of this message | ||
I'm using strncmp to compare strings but some of the strings contain the & character when
strncmp finds such character it gives <0 or 0> even if the string is equal to the other string
instead of 0. Is there a way to solve this?
--
http://www.php.net/manual/en/function.strncmp.php
http://master.php.net/manage/user-notes.php?action=edit+30490
http://master.php.net/manage/user-notes.php?action=delete+30490
http://master.php.net/manage/user-notes.php?action=reject+30490