added addslashes to PHP code generating