- Original Message -
From: "Adam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 12:20 PM
Subject: [PHP] Re: Store uploaded files in MySQL-BLOB
> I would suggest setting the database column to LONGTEXT instead of BLOB
> since it can accomidate far more characte
Hi friends,
could anybody tell me how I best store one or several uploaded files in a
MySQL database (as a BLOB). I use PHP 3.
Let's say I have the variable $userfile. Is it possible to simply insert
this into the database?
$query = "INSERT INTO ... (file) VALUES (" . $userfile . ");
By the
Hello Richard,
I'm not quite sure but I think the problem is the following:
- If no month has been specified, the variable $month is not defined.
- If you then mention $month in
if ($month == "")
the Parser creates the variable. Its value is unpredictable, but it is
most unlikely
3 matches
Mail list logo