Jump to content

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,








Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...