Community for PHP Programmers : Ask questions, doubts and help each other get better at PHP
Join this group to post and comment.
Can variable retain a value in PHP?
Can we retain a variable value in PHP after closing the application(with a new session every time),without saving it to any database or file?If yes,how?
no it is not possible but through cookies yes you can , until some one deletes them through browser directly
Another option is to use the localstorage in HTML5