Hello all. I am trying to set a session variable as a string like this.
$_SESSION['something']="hello";
this does not work
I also tried this. but it didn't work;
$name =$_SESSION['something']."hello";
and if i do this
$_SESSION['something']=$_SESSION['something']."hello";
the value ends up like this hellohellohellohellohello
So what im trying to do is set a session string , but i cant find the correct way of doing it even after lots of research. Does anyone know the solution thanks!