In my spare time I’m developing a website based on Zend Framework which I run local, just on my Mac. It’s very fast, I do not need to upload the modified files and folders to the webserver and I’m saving money because I do not need web space right now, I only reserved the domain I’d like to use in the future.

When I add more and more functionality I’m exploring a lot of handy tweaks or commands that are not always just as you see on your webserver. Here are several of this tweaks and I’m sure I’ll explore more in the future. Do you guys have some suggestions?
Continue Reading »

I’ve switched a couple of years ago to PDO to manage all the database actions. PDO (PHP Data Objects) is an object orientated extension that requires at least php 5.1. In many cases software improves and is often more easy to use. But why did the php development-teamĀ  forgot to write a similar function like mysql_num_rows?

In this case you always need to run an extra query to retrieve the total records. See the examples below.

Continue Reading »

mysqlFor programmers who are starting with mysql a couple of tips to make life easier. A small list of basic tips beside the most important one: Use an error handler!

 

 

Continue Reading »

Top of Page