Anthanos has asked for the wisdom of the Perl Monks concerning the following question:
At this point I want to substitute $name for all instances of $name in $html... hope that makes sense. Thanks!$name = "My Name"; $sth = $dbh->prepare("SELECT html_code FROM html_table WHERE id LIKE ' +2'); $sth->execute; @row = $sth->fetchrow_array; $html = @row[0];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dynamic HTML via MySQL
by eg (Friar) on Feb 21, 2001 at 04:29 UTC | |
|
Re: Dynamic HTML via MySQL
by rpc (Monk) on Feb 21, 2001 at 04:39 UTC | |
|
Re: Dynamic HTML via MySQL
by archon (Monk) on Feb 21, 2001 at 04:34 UTC | |
by Anthanos (Initiate) on Feb 21, 2001 at 04:43 UTC |