in reply to SQL causing 500 error (was: What's Wrong With This?)
Michael G. Schwern has several good points here: http://magnonel.guild.net/~schwern/talks/Refactoring_DBI_Example/my $sth = $dbh->prepare( qq| select count( * ) from userlist where colemail = ? |) || die $dbh->errstr; $sth->execute( $FORM{'email'} );
|
|---|