Raised This Month: $ Target: $400
 0% 

if the character string does not contain X


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EclipseCP
BANNED
Join Date: Dec 2010
Old 06-25-2011 , 12:21   if the character string does not contain X
Reply With Quote #1

hello

I'm doing a kind of system and I want to know how to do this:

If the string does not contain an @

PHP Code:
        if (!contain(string"@"))
        {
            
client_print(idprint_center"Must contain an @"
            
return 2;
        } 
grettings
EclipseCP is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 06-25-2011 , 12:25   Re: if the character string does not contain X
Reply With Quote #2

PHP Code:
if( containstring"@" ) == -)
{
     
client_printidprint_chat"This string does not contain an @." );

__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode