@Override
    public void executeSqlQuery(String path, String query, List<Variable> queryParameters){
         File f;
        try {
            f = FileWriterImpl.getInstace().fileCreate(path);
        } catch (IOException ex) {
            Logger.getLogger(PHPGenericWriterImpl.class.getName()).log(Level.SEVERE, null, ex);
            return;
        }        
        FileWriterImpl.getInstace().writeLine("$dbn->query($sqlQuery);", f);
        String phpCode= "try {\n" +
                        "$sqlQuery=\""+query+"\"; \n"+
                        "   $stmt = $dbn->prepare($sqlQuery); \n";
        boolean useArrayOfParameters = false;
        if(queryParameters!=null){
        	if(queryParameters.size()>0){
        		useArrayOfParameters= true;
        	}
        	
        }
        if(useArrayOfParameters){
        	phpCode+="$stmt->execute(array(";
        	int paramNumber = 0;
        	for (Variable variable : queryParameters) {
        		if(paramNumber!=0){
        			phpCode+= ", ";
        		}
        		phpCode+= "$"+variable.getName()+" ";
			}
        	phpCode+= "));\n";
        }else{
        	phpCode+="$stmt->execute();";
        }
        phpCode += "} catch(PDOException $ex) {\n" +
                        "    echo \"An Error occured!\"; \n" +
                        "}";
        FileWriterImpl.getInstace().writeLine(phpCode, f);
    }