we aims to please... -----Original Message----- From: J W W L (Warwick) Berg [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 7:45 AM To: 'Rick Emery' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] comparisons
Hey thanks Rick Appreciate it. Regards.. Warwick Berg -----Original Message----- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, 22 March 2002 11:42 To: 'Warwick Berg'; [EMAIL PROTECTED] Subject: RE: [PHP] comparisons if (ereg("john",$jeff) ) { } or: if( strstr( $jeff, "john") ) { } or: if( strpos( $jeff, "john") ) { } -----Original Message----- From: Warwick Berg [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 6:55 AM To: [EMAIL PROTECTED] Subject: [PHP] comparisons Hi Just learning php from the bottom. Can someone help with syntax please? Want to know about using ifs : If the string value "john" is present in the variable "jeff" then do, etc, etc. How do we see if a value is present in a string? Thanks Warwick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php