daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest May 16th, 2018 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function adaugareImagine($img, $user_id) {
  2.     $link = conectare_bd();
  3.     $img = testData($img);
  4.     $user_id = testData($user_id);
  5.     $img = mysqli_real_escape_string($link, $img);
  6.     $user_id = mysqli_real_escape_string($link, $user_id);
  7.     $query = "insert into images values(NULL, '$img', $user_id)";
  8.     return mysqli_query($link, $query);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top