Иван
Зарегистрирован: 09.07.2003 Сообщения: 84 Откуда: Dnepropetrovsk
|
Добавлено: Вт Апр 16 2002 21:25 Заголовок сообщения: Как добавить file в таблицу в MySQL? |
|
|
mysql> describe imag; +-------+------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------+------+------+-----+---------+-------+ | imag | blob | | | NULL | | +-------+------+------+-----+---------+-------+ 1 row in set (0.00 sec)
mysql> INSERT INTO images (image) VALUES (/workingdirectory/proba.jpg); ERROR 1064: You have an error in your SQL syntax near '/home/hristo/public_html/proba.jpg)' at line 1 |
|