Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.
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();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.