Kishadotcom
October 26th, 2007, 15:47
I'm trying to update the value of the column license from "n" to "y".
I can't seem to figure it out.
Here's my current code
if ($_POST["$submit"])
{
$sql = "UPDATE site_user SET license='y' WHERE license='n'";
$result = mysql_query($sql);
Help would be greatly appreciated.
I can't seem to figure it out.
Here's my current code
if ($_POST["$submit"])
{
$sql = "UPDATE site_user SET license='y' WHERE license='n'";
$result = mysql_query($sql);
Help would be greatly appreciated.