add same number n times php pdo code example Example: multiply a string php str_repeat ( string $input , int $multiplier )