bigup401 has asked for the wisdom of the Perl Monks concerning the following question:
my select script
if ($input) { my $search = $DBH->prepare("SELECT * FROM tble WHERE CONCAT(NAME, ', ' +, AGE, ', ', COUNTRY) LIKE ?"); $search->execute('%'.$input.'%'); my $row; while (my $row = $search->fetchrow()) { print "$row\n"; } }
output
Jane Deo John Deo
my problem is here. any advice or example. how i can get all output per div instead printing only 1
my html
------------ John Deo HTML DIV------------ <div class="infono"> <h6>$scal #John Deo</h6> </div> <span class="infono_id"> <a href="#" class="user_edit"> Edit Name </a> </span> ------------ John Deo HTML DIV END ------------ ------------ NEXT IS JANE DEO HTML DIV -------- ------------ END OF JANE DEO -------------------
i want to get also Jane Deo div after john deo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: output div tag inside html
by marto (Cardinal) on Sep 12, 2018 at 17:34 UTC | |
by bigup401 (Pilgrim) on Sep 13, 2018 at 08:13 UTC | |
by marto (Cardinal) on Sep 13, 2018 at 08:22 UTC | |
|
Re: output div tag inside html
by poj (Abbot) on Sep 13, 2018 at 09:09 UTC | |
by bigup401 (Pilgrim) on Sep 13, 2018 at 17:55 UTC | |
by Your Mother (Archbishop) on Sep 13, 2018 at 18:23 UTC | |
by bigup401 (Pilgrim) on Sep 13, 2018 at 21:34 UTC | |
by marto (Cardinal) on Sep 14, 2018 at 11:35 UTC | |
|