Re: how to upload one image and one pdf file in a same table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Which DB are you using? If it is MYSQL, use a BLOB field to store the 
pdf file.Just use an alter table command, with the blob filed as null.

Priya

--- In php-objects@xxxxxxxxxxxxxxx, "arvindsri123" <arvindsri123@...> 
wrote:
>
> Hi,
> 
> I have made a script for uploading 
> 
> 1. Title 
> 2.Description 
> 3.Image, 
> 
> in a single table.
> 
> Images goes to store in a folder, name "uploads".
> 
> Now i want one more filed for pdf file in same table and want to add
> script for that at same page...so it will be like 
> 
> 1. Title
> 2. Description
> 3. image
> 4. PDF file
> 
> Id is primary key already, i retrieve data through that ID.
> 
> Any help ?
> 
> Thanks,
> Arshi
>



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux