Jump to content
Sign in to follow this  
Atilla

Wordpress Javascript Blob insert mysql

Recommended Posts

Hello everyone,

 

i have created a html form and a button.

Javascript reacts to the button click sends the html values to functions.php and there i have a function to insert into the wordpress database.

Every field is working and is being inserted into the database but i have some problems to upload and save a image file with these steps.

Iam not using a html form i wanted to go the javascript way.

Is there any option/solution to insert an image file as blob into mysql using php without form submit just via javascript ajax ?

 

Thanks and best regards,

 

Atilla

pic1.png

pic2.png

pic3.png

pic4.png

pic5.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...