How to check where your site visitors come from using javascript
Where do my visitors come from? That is always a question bloggers, site owners and advertisers want to know. Knowing who has referred the visitor to my site tells you a lot about that visitor. This...
View ArticleHow to SELECT a Random Record in SQL
Sometimes we need to retrieve a random entry from the Database. An examples for that could be trying to display “random posts” or “a random image”. Some developers pull some or all of the records and...
View ArticleDrupal crashes when adding module in Modules admin screen
Drupal is a popular CMS that enables 3rd party development of extensions such as themes and modules. In order to get a good value site out of Drupal you need to install several modules and theme that...
View ArticleJQuery AJAX POST Sending Only Partial Data? Try URL Encoding.
JQuery is a great JavaScript framework that makes web developer life much easier. But like all framework, you need to learn its gotchas in order to work effectively with it. Here is one of those...
View ArticleJavascript Object to String
Javascript is a little hard to debug, Firebug helps a lot, but sometime you just to need to convert a javascript object into a string. In order to do that (in firefox) you could use the toSource()...
View Article