[ create a new paste ] login | about

Link: http://codepad.org/Yac5JOxy    [ raw code | output | fork ]

PHP, pasted on Oct 4:
1
2
3
4
5
6
7
8
<?php
   $id = 1;
   $thumb_image_location = '2';
   $sql = "INSERT INTO `photos` (`id`,`owner`,`url`) VALUES ('id','".$id."','".$thumb_image_location."')";
    
    
   echo $sql;
?>


Output:
1
INSERT INTO `photos` (`id`,`owner`,`url`) VALUES ('id','1','2')


Create a new paste based on this one


Comments: