JimJx has asked for the wisdom of the Perl Monks concerning the following question:
$query = sprintf ( "SELECT `Cats`.`Name`,`Address`.`Address`,`Address`.`Ci +ty`,`Contact`.`Phone`,`Keys`.`Keywords` FROM ( `Cats` LEFT JOIN `Address` USING (`Name`) LEFT JOIN `Contact` USING (`Name`) LEFT JOIN `Keys` USING (`Name`) ) WHERE `Keys`.`Keywords` LIKE '%$search%' ORDER BY name asc LIMIT %d,%d", $start - 1, # number of records to skip $per_page + 1); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PERL and MySQL
by gamache (Friar) on Oct 19, 2007 at 14:02 UTC | |
|
Re: PERL and MySQL
by meraxes (Friar) on Oct 19, 2007 at 15:14 UTC | |
by JimJx (Beadle) on Oct 20, 2007 at 07:13 UTC | |
|
Re: PERL and MySQL
by eric256 (Parson) on Oct 19, 2007 at 13:59 UTC |