Re: [PHP] Add picture in DB

2002-10-28 Thread Frank W.
Have you used a SQL-Statement like:

INSERT INTO `tablename` VALUES ('',LOAD_FILE('$file')

to insert it with load_file? I used it without problems that way.


Christian Ista wrote:


Hello,

I have a form, with 2 inputs ( a type "file" and a type "text") and a
submit.

When I submit I receive an error, like this :
':\\Inetpub\\wwwroot\\test\\small2158.jpg)' at line 3

Could you tell me what can I do ?

The better solution is save the picture in the database or save the link
to this picture un the database ?

Christian,






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Add picture in DB

2002-10-28 Thread Christian Ista
Hello,

I have a form, with 2 inputs ( a type "file" and a type "text") and a
submit.

When I submit I receive an error, like this :
':\\Inetpub\\wwwroot\\test\\small2158.jpg)' at line 3

Could you tell me what can I do ?

The better solution is save the picture in the database or save the link
to this picture un the database ?

Christian,



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php