Guest User

Untitled

a guest
Jun 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2.  
  3. $getresult = mysql_query("SELECT * FROM users WHERE uid=$uid")
  4. or die(mysql_error());
  5.  
  6. $row = mysql_fetch_array($getresult);
  7.  
  8. $vitimas1 = $row['vitimas'];
  9.  
  10. $vitimas2 = "VARIAVEL QUE VAI ADICIONAR NA TABELA (JSESSIONI)";
  11.  
  12. $result = mysql_query("UPDATE users SET vitimas=$vitimas.','.$vitimas2 WHERE uid=$uid")
  13. or die(mysql_error());
  14.  
  15. ?>
Add Comment
Please, Sign In to add comment