Removing new line \n from string..
Sometimes the invisible new line character breaks the code, specially when we are using some javascript. I had a recent experience when using wz_tooltip extension to create good tooltips and I realized...
View ArticlePHP Random Password Generator
Php random password generator with custom string length and strength.. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 function...
View ArticleGoogle Maps Geocoder in Action..
Ever needed random addresses to be displayed on Google Maps. You can easily achieve the same by using the Google Geocoder. Here is an example.. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22...
View ArticleNeed explode like function in MySql? You can do it using RegExp.
Working with a client I had a requirement where a product may belong to multiple categories. Now you can do it by either creating a separate table showing the relation between the two, or you can...
View ArticleAdding scroll effect on local anchors – jQuery
using jQuery tabs I ran into a problem where the #anchor links won’t work in any of the tab content (specially when using Ajax tab load). I had heard of jQuery having a cool scrolling effect to scroll...
View ArticleFixing windows reboot loops and file missing/corrupt problems using Windows...
Sometimes Windows XP can act really stupid. I waked up in the morning and started my computer. I worked fine last night and was just looking for checking my mails and all of a sudden I got this message...
View ArticleBlock Adservers to block unnecessary ad blocks and banners for speedy browsing..
if you wanna remove those nasty ads from the pages which waste lot of time and bandwidth then here is something for you I belive it will help you a lot. how it works It’s possible to set up a name...
View ArticleWant to add Google Street View in your website?
Google street view is a pretty cool widget and also now available for significant amount of areas around the world. It would certainly be very cool to add not only the Google maps in your website but...
View Articleenable inline editing in jqGrid..
Here is an example to demonstrate how we can enable inline editing in jqGrid. This example is a mixture of ‘Costom Edit’, ‘Using Events’ and ‘Input Types’ examples from jqGrid Demo examples from Mark...
View ArticleMySQL: Remove carriage returns and line feeds from table column
Well I just got into this weird issue when search query didn’t return what I was looking for even though it was there and I realized that the string contains carriage returns and line feeds in that...
View Article