View difference between Paste ID: 04AbWFXF and q2vVR5BU
SHOW: | | - or go back to the newest paste.
1-
// i have tried a few options - url parameter /?client_feddback=1
1+
2
session_start();
3-
//option 1
3+
4
if (isset($_GET["client_feedback"]) && $_GET["client_feedback"] !== "") {
5
$_SESSION["client_feedback"] = $_GET['client_feedback'];
6
}
7
8
if ($_SESSION["client_feedback"]) {
9
    ?> <style type="text/css">#form__feedback {display:block!important}</style> <?php
10-
if( isset( $_SESSION["client_feedback"] ) != "" ) {
10+
11
    ?> <style type="text/css">#form__feedback {display:none!important}</style> <?php
12
}	
13
?>