Dear sir..
 
 
this is what i am working out....
 
==============================================================
 
 
<table border="1" bordercolor="#0000FF" width="21%" cellpadding="5" 
cellspacing="5">
 
  <?
  
  $i = 0;
  $q = mysql_query ("Select * from stuff where cat_id = '1' ");
    while($r = mysql_fetch_array($q))
  {
   if ($i==2)
    {
  $i=0;
         }
 $i+=1;
     
  ?>
  <tr>
    <td width="41%"><img src="images/<? echo $r["image_path"]?>" /></td>
    
      
    </tr>
    
  <tr>
    <td width="20%"><?php echo $r["image_name"]?></td>
    
    <td><a href="images/?add_id=<? echo $r["prod_id"]?>">Download</a></td>
      
    </tr>
  
  
  <?
  }
  ?>
  
</table>
============================================================
 
one thing that i have just stored the image name in mysql and store the all 
image in a saperate folder name images..as shown in the code above.. i want 
that when i click the download button the download box open and the image start 
to download.
 
regards


--- On Tue, 11/4/08, Wade Smart <[EMAIL PROTECTED]> wrote:

From: Wade Smart <[EMAIL PROTECTED]>
Subject: Re: [php-list] image download
To: php-list@yahoogroups.com
Date: Tuesday, November 4, 2008, 8:10 AM






aslam doctor wrote:
> sorry??? what do u mean by "What do you have so far?" ?
> what r u trying to say?
> 
> On Tue, Nov 4, 2008 at 9:22 PM, Wade Smart <[EMAIL PROTECTED] com> wrote:
> 
>> zarilahr wrote:
>>> Dear Sirs
>>>
>>> i have number of jpg images. I want to store these images in
>>> mysql,retreive on webpage, then to download the particular image whom
>>> visitor click.
>>>
>>> plz help me i will be very thankfull
>>>
>> 20081104 0951 GMT-5
>>
>> Sounds great. What do you have so far?
>>
>> Wade

20081104 1009 GMT-5

What code have you written thus far?

Wade
 














      

[Non-text portions of this message have been removed]

Reply via email to