![Serveur D Serveur D](/uploads/1/2/3/6/123627901/959495832.png)
![Sqash Sqash](/uploads/1/2/3/6/123627901/587214803.jpg)
<?php
/* Execute a prepared statement using an array of values for an IN clause */
$params = array(1, 21, 63, 171);
/* Create a string for the parameter placeholders filled to the number of params */
$place_holders = implode(',', array_fill(0, count($params), '?'));
/*
This prepares the statement with enough unnamed placeholders for every value
in our $params array. The values of the $params array are then bound to the
placeholders in the prepared statement when the statement is executed.
This is not the same thing as using PDOStatement::bindParam() since this
requires a reference to the variable. PDOStatement::execute() only binds
by value instead.
*/
$sth = $dbh->prepare('SELECT id, name FROM contacts WHERE id IN ($place_holders)');
$sth->execute($params);
?>
If your targeted version of Squash TA Server is 1.6.1 (template based on a free style job) Create in JENKINSHOME/jobs a directory named 'templateSquashTAExecutionJob' In this new directory, copying the appropriate config.xml (windows or linux). This is the template of Squash TA server 1.6.1. Older version are available in our bitbucket.