Popular posts from this blog
CSS Click Event : Using CSS for Click Events
By
Ashutosh Kumar
-
CSS doesn’t provide any official way to handle a click event in CSS. But there are some very interesting tricks that we can use to “detect” a click using CSS only, without a single line of JavaScript, and this is what we are going to talk about today. How ot Works ? The HTML 1 2 < input type = "checkbox" > < p class = "to-be-changed" >I'm going to be red! It's gonna be legen... Wait for it...</ p > The CSS 1 2 3 4 5 6 7 .to-be-changed { color : black ; } input[type=checkbox]:checked ~ .to-be-changed { color : red ; } As you can see, it relies on the :checked pseudo-class and on the general sibling selector ~ . Please note that it also works like a charm with the adjacent sibling selector + . Basically, it says “if the checkbox is checked, then the following elements with the .to-be-changed class will be red”. Okay, a check...
PHP Email Verification Script
By
Unknown
-
Database Sample database users table contains four columns uid, email, password, activation and status. CREATE TABLE IF NOT EXISTS ` users ` ( ` uid ` int (11) NOT NULL AUTO_INCREMENT , ` email ` varchar (300) NOT NULL UNIQUE, ` password ` varchar (300) NOT NULL, ` activation ` varchar (300) NOT NULL UNIQUE, ` status ` enum (' 0 ',' 1 ') NOT NULL DEFAULT '0', PRIMARY KEY (`uid`) ) HTML Code Contains simple HTMl code. <form action="" method=" post "> <label> Email </label> <input type=" text " name=" email " class=" input " autocomplete=" off "/> <label> Password </label> <input type=" password " name=" password " class=" input " autocomplete=" off "/> <br/> <input type=" submit " class=" button " value=" Registration " /> ...
Comments
Post a Comment
Do Not Spam