SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 28 of 28
  1. #26
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    id is 56

  2. #27
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,222
    Mentioned
    153 Post(s)
    Tagged
    0 Thread(s)
    Okay, so try this and go to this page directly
    PHP Code:
    $id =  56//mysql_real_escape_string($_REQUEST['id']); 
    //echo $id; 
    $imageQuery mysql_query("SELECT * FROM store WHERE id=$id"); 
    $imageResult mysql_fetch_assoc($imageQuery); 
    $image $imageResult['image']; 
    $nimage $imageResult['name']; 
    //echo $nimage; 
    //header("content-type:image/jpeg"); 
    var_dump($imageResult);
    echo 
    $image
    ?> 
    Then paste the output here so I can see what it returned

  3. #28
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    i tried http://localhost/~mgltd/reacheasy/ge...tore.php?id=57

    it says the image http://localhost/~mgltd/reacheasy/ge...tore.php?id=57 cannot be dispaled because it contains error


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •