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 column!! so to remove these characters simply run these queries and it should work fine.. 1 2 3 [...]
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 Williams in MVC (model/view/controller) flavor using PHP Framework CodeIgniter. You can using any language you want, you just have to do [...]
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 the Google Street view as well. It also is pretty easy to do that, below is all the [...]
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 server as authoritative for any domain you choose, allowing you to specify the DNS records for [...]
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 WINDOWS COULD NOT START BECAUSE THE FOLLOWING FILE IS MISSING OR CORRUPT = windows\system32\config\system I thought [...]
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 down, up to jump between the #anchor links. Here is how you can add this cool effect [...]
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 simply add a new field in the product table and save all the respective categories in a comma separated [...]
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 23 24 25 26 27 28 29 30 [...]
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 generatePassword($length=9, $strength=0) { $vowels = ‘aeuy’; [...]
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 that the newline character [\n] breaks the tooltip widget. You can easily remove these and replace them with <br> by following code.. 1 [...]




