Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $values = array('nom', 'prenom', 'taille', 'mescouilles');
- $mergeIn = array_merge([$values[0], $values[1], $values[2] . ' ']);
- $implodeIn = implode(' ', $mergeIn);
- $replacement = str_replace(' ', ' = ?, ', $implodeIn);
- $finalString = substr_replace($replacement, '',-2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement