The code below is a part of a template that works in combinatation with a shop-script.
I only want member to login. Somewhere I need an escape when login en password are not
right. Best is a page-jump to the former page. Who can help me. Please keep it simple,
I am just a starter.
<eval>
use DBI;
my $dbh= DBI->connect("DBI:mysql:etc...,{'RaiseError' => 1});
$sth = $dbh->prepare("SELECT member.login, member.password
member.naam, memeber.adress, member.zipcode,
wember.town, lidmaatschap.telefoon, lidmaatschap.email,
FROM member
WHERE member.login LIKE '$login'
AND member.password LIKE '$password'");
$sth->execute();
@dataarr = $sth->fetchrow_array;
$login=$dataarr[0];
$naam=$dataarr[1];
$adress=$dataarr[3];
$zipcode=$dataarr[4];
$town=$dataarr[5];
$telefoon=$dataarr[6];
$email=$dataarr[7];
$dbh->disconect;
</eval>
Thanks in advance, you can also mail me.
Erik van Huijgevoort
Holland
[EMAIL PROTECTED]