Restore Data In MySQL DB from Another MySQL DB

Today a client of mine had an issue where some scripts ran amuck and some data (mainly some timestamp rows) was set to 0. So I had to restore from a backup to fix the issues. The problem is that I couldn’t restore the entire database because today’s data would get lost. It was also only a few columns in a few tables that needed restoring. So here’s what I did.

read more

Use JQuery to see if a checkbox is checked

There are times with JQuery that you may need to see if a checkbox is checked or not, and based on that value, do certain things. This little snippet has come in handy a lot for a project I’ve been working on lately. Simply do the following:

read more