Category: Uncategorized

CSS Positions: Static, Relative, Absolute, Fixed, and Sticky

The position is basically a property in CSS which allows us to place the element anywhere within the HTML page. It also allows us to place the element within the parent element such that it can be moved freely within its parent. Some of the applications of Positions is Dropdown, Free-floating chatbox like we see […]

Read More
PHP Type Conversion

PHP Type Comparison Tables

Comparisons of $x with PHP functions Expression gettype() empty() is_null() isset() boolean : if($x) $x = “”; string TRUE FALSE TRUE FALSE $x = null; NULL TRUE TRUE FALSE FALSE var $x; NULL TRUE TRUE FALSE FALSE $x is undefined NULL TRUE TRUE FALSE FALSE $x = array(); array TRUE FALSE TRUE FALSE $x = array(‘a’, ‘b’); array FALSE FALSE […]

Read More