|
Posted by Jerry Stuckle on 10/19/07 12:53
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
>
He's talking about a table in a SQL database.
>> 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?
Not necessarily. Often times I'll store files in a database. A lot of
good reasons to do so (which should be discussed in a SQL newsgroup).
>> Please, could you help me with a simple example ?
>>
>> Thank you .
>>
>> Fab
>
>
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|