Converting asp sub function

From: Date: Thu, 11 Oct 2001 17:01:13 +0000
Subject: Converting asp sub function
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13263@lists.php.net to get a copy of this message
How can i convert the below sub functions in asp to php?? Help is appreciated. Please point me to the right manuel or tutorial. sub security_check (username,group_number) ssql = "select * from sec_user_tbl" if Session("ObjectRec3").State = 1 then Session("ObjectRec3").Close Session("ObjectRec3").Open ssql, Session("ObjectConnection") while not session("objectrec3").eof if ucase(session("objectrec3")("name"))=username then user_id = session("objectrec3")("uid") end if session("objectrec3").movenext wend Session("ObjectRec3").Close end sub Regards, Harpreet Kaur Software Developer Crispin Corporations Inc.

« previous php.db (#13263) next »