you can use cookies. setcookie ("user", $value); setcookie ("psw", $value); //look in manual for more details
u can set the cookie only the login and psw are corect and then in "some page" you do the follow: if (isset($user)&&isset($psw)) .../*verify again if are corect and "select the only Record to him!" Best regards, George Nicolae IT Manager ___________________ X-Playin - Professional Web Design www.x-playin.f2s.com "Jack" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all > I had create the Login Page for the User to login before they can open the > WebPage. What i want to do is to: > > When the User had type the Username into the Inputbox, and click the submit > button, this Username will be memorized, and pass to other PHP Page.Then > when he go to some page which need to select data from MYSQL, it will read > the Username which passed from the Login Form and select the only Record to > him! > > I heard about the Session, but how i can pass the Username to other page > using Session?? > > Pls Help! > > Thx a lot ! > jack > [EMAIL PROTECTED] > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]