gammaman Posted April 21, 2008 Author Share Posted April 21, 2008 tell me what one easy to guess then the other............... <?php session_start(); $_SESSION['student']['user']="redarrow"; echo " Changed session to: ".$_SESSION['student']['user']." <br><br>"; $suser=$_SESSION['student']['user']="paul"; echo " Set varable Changed session to: $suser <br><br>"; ?> why would you asssume that the 'user' is made of letters, what if they are made of numbers, what about special characters, or maybe its a combination of all three Link to comment https://forums.phpfreaks.com/topic/102050-using-_session-vars-in-a-query/page/2/#findComment-522689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.