forumnz Posted December 29, 2007 Share Posted December 29, 2007 I have managed to register a session with the users id (e.g 1). I want (in a script) $id to = the users id. How do I take it from the session? Understand? Thanks heaps, Sam. Quote Link to comment Share on other sites More sharing options...
revraz Posted December 29, 2007 Share Posted December 29, 2007 $id = $_SESSION['id']; ? Quote Link to comment Share on other sites More sharing options...
papaface Posted December 29, 2007 Share Posted December 29, 2007 session_start(); $id = $_SESSION['userid']; ??? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.