in reply to Database Manipulation

Assuming that the table has a unique id, you can do something like the following:

$dbh = DBI->connect($DSN, $user, $passwd) || die "Cannot connect: $DBI +:errstr\n"; $drh = DBI->install_driver("mysql"); ... $SQLText = "UPDATE gold SET amount = $Gold WHERE id = $goldID"; $sth = $dbh->prepare($SQLText); $query = $sth1->execute;

You can find more information regarding Perl and MySQL here.

If things get any worse, I'll have to ask you to stop helping me.

Replies are listed 'Best First'.
Re: Re: Database Manipulation
by Twisted_Duke (Initiate) on Dec 12, 2001 at 08:34 UTC
    Thanks a lot, this is a lifesaver.