PROBLEM : Is there any way to select/manipulate CSS pseudo-elements such as ::before and ::after (and the old version with one semi-colon) using jQuery? For example, the stylesheet has the…
PROBLEM: Given this HTML & CSS: [ad type=”banner”] as a result, there will be a 4px wide space between the SPAN elements. We could get rid of that space by…
PROBLEM: How to Stretch and scale a CSS image in the background – with CSS only ? SOLUTION 1: use the CSS3 property to do it . It resizes to…
URL: JavaScript provides many methods to retrieve and change the current URL which is displayed in browser’s address bar. All these methods uses the Location object, which is a property…
PROBLEM: With HTML/CSS how to make an element that has a width and/or height that is 100% of it’s parent element and still has proper padding or margins? The parent…
bindParam and bindValue bindValue(), Unlike PDOStatement::bindValue(), the variable is bound as a reference and will only be evaluated at the time that PDOStatement::execute() is called. bindParam() call PDOStatement::bindParam() to bind…
urlencode urlencode — URL-encodes string Description This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass…
There are few ways to change the type of a value from integer to string. In the following you’ll find three ways- Method 1: Applying type casting In this method,…
PROBLEM : We have a bunch of client Point Of Sale (POS) systems that periodically send new sales data to one centralized database, which stores the data into one big…