Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert a blob

Guest
Feb 13, 2008 Feb 13, 2008
I am trying to insert the file identified in the file field into MySql. It's not apparent what field I reference in the Insert Behavior. The file field name itself is just the name of the file being inserted. I need the file itself bound a field in the insert behavior. Does anyone have experience with this? Thanks in advance.

David
TOPICS
Server side applications
290
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2008 Feb 13, 2008
LATEST
davidbarrackphoto wrote:
> I am trying to insert the file identified in the file field into MySql. It's
> not apparent what field I reference in the Insert Behavior. The file field
> name itself is just the name of the file being inserted. I need the file
> itself bound a field in the insert behavior. Does anyone have experience with
> this? Thanks in advance.
>
> David

I don't think its that straight forward, you need a file upload
component that can store the uploaded file as a blob in your database.
What your doing right now is storing the filename in your database.

Steve
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines