Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_destroy();
- session_name('MySession');
- session_start();
- if (isset($_GET["client_feedback"]) && $_GET["client_feedback"] !== "") {
- $_SESSION["client_feedback"] = $_GET['client_feedback'];
- }
- if (true)
- {
- echo '<pre>';
- print_r($_GET);
- print_r($_SESSION);
- echo '</pre>';
- }
- if ($_SESSION["client_feedback"]) {
- ?> <style type="text/css">#form__feedback {display:block!important}</style> <?php
- } else {
- ?> <style type="text/css">#form__feedback {display:none!important}</style> <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement