It looks like your intended post is supposed to be
There's a reason for the Preview button -- it's to confirm that what you're posting is readable and has the minimum ;) number of spelling mistakes.print <<EOF; <table> <thead class="flip-content"> <tr> <th width="20%"> Students id </th> <th class="numeric"> First Name </th> <th class="numeric"> Last Name </th> <th class="numeric"> Date Of Birth </th> <th class="numeric"> Year In </th> <th class="numeric"> Password </th> <th class="numeric"> Email </th> <th class="numeric"> Telepon </th> </tr> </thead> EOF while (my @row_array = $sth->fetchrow_array()) { print <<EOF; <tbody> <tr> <td> $row_array[0] </td> <td> $row_array<a href="?node=1">1</a> </td> <td> $row_array<a href="?node=2">2</a> </td> <td> $row_array<a href="?node=3">3</a> </td> <td> $row_array<a href="?node=4">4</a> </td> <td> $row_array<a href="?node=5">5</a> </td> <td> $row_array<a href="?node=6">6</a> </td> <td> $row_array<a href="?node=7">7</a> </td> </tr> </tbody> EOF } print"</table>\n";
Now on to reviewing your code.
Update: Sorry, pressed submit too soon. It looks like you are missing the part that pulls the data from the database -- you need something like $row_array->{$name_of_data_element_goes_here} in your table cell.
In reply to Re: insert CGI script in single quotes.
by talexb
in thread insert CGI script in single quotes. [SOLVED]
by pakeidoprek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |