I have some php pages that displays data from a mysql database in a browser. I need to be able to edit these records. I have an "edit" link next to each record that pulls that record up in a form so I can edit it. After I edit it, I click submit, & then for some reason I get sent to a blank page with no errors & the record does not get updated. The update)record.php code is below.
$con = mysql_connect("localhost","uname","password");
die('Could not connect: ' . mysql_error());
$pacts = 'pacts';
$fname = 'fname';
$lname = 'lname';
mysql_query("UPDATE psrinfo SET pacts='".$pacts."', fname='".$fname."', lname='".$lname."'");