Posts by achaquisse • 52 points
2 posts
-
-4
votes6
answers2500
viewsA: Hover on DIV1 change DIV2 with CSS
There is indeed. Example <div id="pai"> <div id="div1"></div> </div> <div id="div2"></div> <style> #div1:hover #div2{ background-color:red; } </style>…
-
2
votes1
answer1373
viewsA: Encrypt password and log in PHP and PDO
PHP already comes with some functions that can help you encrypt and decrypt. View documentation: MD5 and Crypt However, it is always good to have a proper encryption algorithm. Ex: <?php class…