in reply to insert CGI script in single quotes. [SOLVED]
If the code you used looks like:
then the only way you could have got the output you did is if the database actually contained the recordwhile (my @row_array = $sth->fetchrow_array()) { print <<EOF; <tbody> <tr> <td> $row_array[0] </td> <td> $row_array[1] </td> <td> $row_array[2] </td> ... </tr> </tbody> EOF }
So - it would help if you posted brief DB content information as well.$row_array[0] $row_array[1] $row_array[2] ...
This is not an optical illusion, it just looks like one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: insert CGI script in single quotes.
by pakeidoprek (Novice) on Apr 26, 2016 at 08:52 UTC | |
by Corion (Patriarch) on Apr 26, 2016 at 09:09 UTC | |
by pakeidoprek (Novice) on Apr 26, 2016 at 17:44 UTC | |
by Corion (Patriarch) on Apr 26, 2016 at 18:41 UTC | |
by NetWallah (Canon) on Apr 26, 2016 at 16:19 UTC | |
by pakeidoprek (Novice) on Apr 26, 2016 at 17:49 UTC |