|
Posted by The Natural Philosopher on 10/19/07 22:26
Henri wrote:
> On Thu, 18 Oct 2007 09:36:59 -0700, electric_r wrote:
>
>> Hallo,
>>
>> I have 2 questions:
>>
>> with php and mysql :
>>
>> 1) How can I insert a text file into a TEXT field of a table ?
>
> textarea value="<?php echo thefile; ?>" something like that
>
>> 2) How can I insert a microsoft word file into a BLOB field of a table ?
>
> wouldn't it be more practical to just store the file's path instead of the file itself?
Actually it isn't.I ended up with EVERYTHING - files and images - in the
database simply because backing up the database then backs up EVERYTHING.
But I wouldn't use a text area to input a file..use the FILE input command.
>> Please, could you help me with a simple example ?
>>
>> Thank you .
>>
>> Fab
>
Navigation:
[Reply to this message]
|