Monthly Archives: September 2016

Archive of posts published in the specified Month

Sep
7

superglobal variables in PHP

The PHP superglobal variables are: $GLOBALS $_SERVER $_REQUEST $_POST $_GET $_FILES $_ENV $_COOKIE $_SESSION

Sep
7

Change background color in jquery onclick

// add js library <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”></script> <script> function changeBg(){ $(“body”).css(“background-color”,”blue”); } </script> <body> <div onclick=”changeBg()”>Click</div> </body> </html>