koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] DBI digest


From: Douglas Bagnall
Subject: [Koha-devel] DBI digest
Date: Thu May 16 03:16:01 2002
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510

Alan wrote:

>  foreach my $dummy (@results) {
>      $query .= "?,";
>  } # foreach

> And there is probably a shorter way to do the correct number
> of question marks via a count of @results.


That would be the x operator.

'?,' x 4  eq  '?,?,?,?,'


cheers,

Douglas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]