Fixed a strict warning
Fixed usage of deprecated mysql_escape_string
Merge pull request #6 from iltar/1.4

Merged 2 commits from 1.3 to 1.4