Sr. PHP Programmer Question: Download Questions PDF
How will you unset a single session variable?
Answer:
Here is the example to unset a single variable −
<?php
unset($_SESSION['counter']);
?>
<?php
unset($_SESSION['counter']);
?>
Download Senior PHP Programmer Interview Questions And Answers
PDF
Previous Question | Next Question |
How will you get cookies using PHP? | How will you get information sent via post method in PHP? |