in reply to Re: Creating a login page
in thread Creating a login page
Can't call method "header" on an undefined value at Password.pl line 22.
1 #Volunteer.pl - Sign up sheet for Volunteers 2 3 use strict; 4 use DBI; 5 use CGI qw(:standard); 6 7 my ($dbh, $sth, $query); 8 my @player = (); 9 10 11 $dbh = DBI->connect ("DBI:mysql:host=localhost;database=<datab +ase>", 12 "mnlight","<paswword>", 13 {PrintError=> 0, RaiseError=> 1}); 14 15 $sth = $dbh->prepare ("select Player from Roster order by Play +er"); 16 $sth->execute (); 17 18 while (my @row = $sth->fetchrow_array ()) 19 { 20 push @player, $row[0]; 21 22 print $query->header(); 23 print $query->start_html(-title => 'Password');
Edit kudra, 2001-12-22 Replaced br with code
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Creating a login page
by orkysoft (Friar) on Dec 21, 2001 at 05:06 UTC | |
|
Re: Re: Re: Creating a login page
by japh (Friar) on Dec 21, 2001 at 04:23 UTC | |
by mnlight (Scribe) on Dec 21, 2001 at 05:56 UTC | |
by japh (Friar) on Dec 21, 2001 at 06:04 UTC |