Inserting into database is not working

Website URL

grandsedu.org
(please specify the URL of the site on which you are experiencing the problem)
Inserting is not working. It is working in my localhost but not working in site.

Error Message

(please share the FULL error message you see, if applicable)

Other Information

(other information and details relevant to your question)

please give an example

1 Like

Yesterday my inserting php file was working. But now it stopped working after I added blob column. What can I do?

What code are you running? What error(s) are you getting?

We need way more information then ‘it does not work’

4 Likes

I have created a html form to insert data into database. It was working until I included uploading images as blob type.

I can’t provide code because this forum is public

I get that you don’t want to share your full website code here. But perhaps you can show some of the relevant parts, if only as a screenshot, so we can look for possible issues.

In any case, is your code checking for query errors? Does the INSERT query return a successful response? And if not, can you output the error and check what it says? Example: PHP mysqli error() Function

Please note that there may be query limits that limit your ability to store images in the database. Not to mention that databases are not intended for file storage. You may want to consider storing the images as files in your account instead. If you need to link them to some a record in your database, you could just have a path to a file on your website instead.

4 Likes

Hi. How can I message admin privately?

You cannot, unfortunately, Admin has that disabled.

Why not just post your problems here directly?

3 Likes

You can’t. And if you’re hoping I will personally guide you on how to debug your code, then I will have to disappoint you, because I’m not available for one-on-one coding support.

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.