Perl CGI TEST PAGEです
Perlの特徴は:インタープリター型言語です

DB mysqlとDBI

use DBI
mysqlへの接続:
$dbh = DBI->connect('DBI:mysql:username:serveraddress:', 'username', 'password');

sql設定(table設定):
$sql = " create table test ( "
. " dmail text,"
. " passwd text,"
. " time timestamp,"
. " op1 integer);"

$sth = $dbh->prepare($sql);
$sth->execute;
$sth->finish;
$dbh->disconnect;


SQL文

sql設定insert:

sql設定update:
sql設定select:

sql設定delete:


先ずは testの使い方 をお読みください、使えば使うほど便利になりますよ!!