Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
When I echo $draw the variable is loaded and there.
$draw = "<a href=/uploads/draw/".$_FILES['userfile']['name']." target=_blank>draw</a>"; $conn = db_connect(); $query = ("UPDATE competition SET draw = '$draw' WHERE id ='$ud_id' "); $result = $conn->query($query); echo $result; $conn->close();