KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have more values (over 20) from $_POST like this... $name = $_POST['name']; $username = $_POST['username']; $city = $_POST['city']; $mobile = $_POST['mobile']; $address = $_POST['address']; NOTE : I have prevented there values from SQL injection. My question is can I know is there a way to store all these POST values in SESSION at once? Instead of this method.. $_SESSION['name'] = $name; etc any answers will be highly appreciated. Thank you.
Tags (comma-separated)
Save Edits
Cancel