RE: [PHP] comparisons

From: Date: Fri, 22 Mar 2002 13:45:18 +0000
Subject: RE: [PHP] comparisons
Groups: php.general 
Request: Send a blank email to php-general+get-89675@lists.php.net to get a copy of this message
we aims to please... -----Original Message----- From: J W W L (Warwick) Berg [mailto:support@thedantegroup.com] Sent: Friday, March 22, 2002 7:45 AM To: 'Rick Emery' Cc: paul@berg.co.nz Subject: RE: [PHP] comparisons Hey thanks Rick Appreciate it. Regards.. Warwick Berg -----Original Message----- From: Rick Emery [mailto:remery@excel.com] Sent: Friday, 22 March 2002 11:42 To: 'Warwick Berg'; php-general@lists.php.net Subject: RE: [PHP] comparisons if (ereg("john",$jeff) ) { } or: if( strstr( $jeff, "john") ) { } or: if( strpos( $jeff, "john") ) { } -----Original Message----- From: Warwick Berg [mailto:support@thedantegroup.com] Sent: Friday, March 22, 2002 6:55 AM To: php-general@lists.php.net 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

« previous php.general (#89675) next »