Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. function CodeToURLImg($code)
  2. {
  3. $sql_catalog = 'SELECT Image FROM Message57 WHERE ItemID=' . $code;
  4. $query_catalog = mysql_query($sql_catalog);
  5. $row_catalog = mysql_fetch_array($query_catalog);
  6. $massiv = explode(":", $row_catalog[Image]);
  7. $CodeToURLImg = '/netcat_files/' . $massiv[3];
  8. return $CodeToURLImg;
  9. }
  10.  
  11. $massiv = explode(":",$row_catalog[Image]);
  12.  
  13. $massiv = explode(":",$row_catalog['Image']);
  14.  
  15. define('Image', 'Image');
  16. $massiv = explode(":",$row_catalog[Image]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement