Archive for May, 2008

Using $_GET and $_POST together

I find myself writing PHP scripts to do backend Ajax work.  One of the problems I often come up against is that I need to be able to call the same script either using a query string and pulling the variables from $_GET or via a form and calling the variables from $_POST.  I usually [...]

Keeping yourself motivated working from home

I’ve found that it’s very difficult for me to stay motivated on projects from home.  At work there is a boss breathing down your next, but at home you don’t have that pressure.  Sure, no boss is one of the benefits to working for yourself.  But having a boss certainly helps to stay motivated.
What else [...]

Sometimes I just frustrate myself

Have you ever spent way too much time looking for a solution to a problem?  Ever felt like smacking yourself in the head when you finally found the fix?  Well today I spent about half an hour trying to find out why a MySQL INSERT query wasn’t working.
I was working on a logging table [...]