in reply to Re^3: mysql update table how to
in thread mysql update table how to
This is the correct code to do the JOB
use strict; use warnings; use DBI; my $userid = DB::trim( param('USERID') ); my $DISABLED = DB::trim( param('Disabled')); my $sql= "UPDATE EmployerJobs SET Disabled = ". "'$DISABLED' where USERID = '$userid'"; $dbh = DB::connect (); $dbh->prepare($sql); $dbh->do($sql); $dbh->disconnect ();
Thanks everyone!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: mysql update table how to
by choroba (Cardinal) on Mar 19, 2019 at 19:51 UTC | |
Re^5: mysql update table how to
by huck (Prior) on Mar 19, 2019 at 19:52 UTC | |
by VC (Novice) on Mar 20, 2019 at 16:56 UTC | |
by poj (Abbot) on Mar 20, 2019 at 17:03 UTC | |
by VC (Novice) on Apr 07, 2019 at 22:48 UTC |
In Section
Seekers of Perl Wisdom