ASPs cSTR function, WTF??!!!
| From: | r.gelstharp | Date: | Tue, 01 May 2001 15:54:38 +0000 |
| Subject: | ASPs cSTR function, WTF??!!! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7184@lists.php.net to get a copy of this message | ||
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