Having problem with containi
I'm trying to make a restriction for clients who changed their name or uses symbols: "~ `"
Here is the code: PHP Code:
|
Re: Having problem with containi
Your code should work but try with this:
PHP Code:
|
Re: Having problem with containi
Remember that the contain natives return the location where the string was found. -1 being returned if it is not found.
|
Re: Having problem with containi
So if a string we are looking for is first, conatin return 0, so it's found but if don't work. My way should work-works for me :D
|
| All times are GMT -4. The time now is 14:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.