![]() |
Alexey admin 6/6/2007 |
Lucian, $strSQLInsert = "insert into archive (title, author, filename, content) values ('".postvalue("value_title")."','".postvalue("value_author")."','".postvalue("value_filename")."','".mysql_real_escape_string($values["content"])."')"; |
L
|
lucian author 6/6/2007 |
Alexey, Lucian, your code looks almost correct. Use mysql_real_escape_string function for BLOB values: |
![]() |
Sergey Kornilov admin 6/6/2007 |
What do you mean "I can't download the files". How do you download them? |
L
|
lucian author 6/13/2007 |
I'm downloading the files from a view page. I changed the type of field for content from image to file in visual editor. Now it works fine. What do you mean "I can't download the files". How do you download them? You can use phpMyAdmin or another program to see if record was actually inserted into archive table. |