http://qs1969.pair.com?node_id=1231450


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!