<?php
$con = mysql_connect("localhost","name","pw");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("db", $con);
mysql_query("UPDATE prefix_downloads SET download_license = 'tekstas'
WHERE download_user = 'ID'");
mysql_close($con);
?>