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. Link to comment https://forums.phpfreaks.com/topic/83629-solved-session-id/ Share on other sites More sharing options...
revraz Posted December 29, 2007 Share Posted December 29, 2007 $id = $_SESSION['id']; ? Link to comment https://forums.phpfreaks.com/topic/83629-solved-session-id/#findComment-425423 Share on other sites More sharing options...
papaface Posted December 29, 2007 Share Posted December 29, 2007 session_start(); $id = $_SESSION['userid']; ??? Link to comment https://forums.phpfreaks.com/topic/83629-solved-session-id/#findComment-425424 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.