Thanks for your answer missbarbell.
In the meanwhile I tried this:
sub print_menu
{
print start_table ( { -class=>'appletwidth'});
print Tr ( td ( p ({ -class=>'applettitle' }, "Hoofdmenu" )));
get_menu();
print end_table;
}
sub get_menu
{
my $dbh=dbconnect::connect();
my...
Hi all.
I'm experimenting with perl/CGI and now I want to create a menu for my webpage from a database.
I have following code:
sub print_menu
{
print table ( { -class=>'appletwidth'},
Tr (
td ( p ({ -class=>'applettitle' }, "Hoofdmenu" ),
get_menu()
)
)...
Well, thank you guys, I really appreciate your help.
I already found out what was wrong, the file was full with tabs and ^M's. When chopped those out it all worked fine.
But you guys made me think, my approach is far too difficult. But it was the only way I knew how to do the job. The script...
Hello world,
As a big fan of the Magic the Gathering game I was trying to build a card database so I can search for specific cards.
I want to load all the cards from the spoilerlists into a mysql database.
The original text file is:
http://wizards.com/magic/generic/cardlists/le_spoiler_en.txt...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.