SHOW:
|
|
- or go back to the newest paste.
1 | - | <?php session_start(); ?> |
1 | + | <?php |
2 | ||
3 | - | <?php |
3 | + | session_destroy(); |
4 | session_name('MySession'); | |
5 | session_start(); | |
6 | ||
7 | - | |
7 | + | |
8 | $_SESSION["client_feedback"] = $_GET['client_feedback']; | |
9 | } | |
10 | ||
11 | if (true) | |
12 | { | |
13 | echo '<pre>'; | |
14 | print_r($_GET); | |
15 | print_r($_SESSION); | |
16 | echo '</pre>'; | |
17 | } | |
18 | ||
19 | if ($_SESSION["client_feedback"]) { | |
20 | ?> <style type="text/css">#form__feedback {display:block!important}</style> <?php | |
21 | } else { | |
22 | ?> <style type="text/css">#form__feedback {display:none!important}</style> <?php | |
23 | } | |
24 | ?> |