R: [PHP-WIN] ASPs cSTR function, WTF??!!!

From: Date: Wed, 02 May 2001 07:27:32 +0000
Subject: R: [PHP-WIN] ASPs cSTR function, WTF??!!!
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7195@lists.php.net to get a copy of this message
----- Original Message ----- From: r.gelstharp <r.gelstharp@ntlworld.com> To: <php-windows@lists.php.net> Sent: Tuesday, May 01, 2001 5:54 PM Subject: [PHP-WIN] ASPs cSTR function, WTF??!!! > In the attempt at trying to convert my ASP pages to PHP, I've run across a > little include file that contains a number of functions. > > this is the function I'm trying to emulate :- > > FUNCTION SELECTED( firstVal, secondVal ) > IF cSTR( firstVal ) = cSTR( secondVal ) THEN > SELECTED = " SELECTED " > ELSE > SELECTED = "" > END IF > END FUNCTION > > does anyone know what this cSTR function is and what it does? Furthermore, > is there a PHP equivalent? > > Many thanks, > Matt Bridger > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#7195) next »