Question

Not insert data into database

When we try to add or insert any row using php .its does not work please help me while insert in local machine


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

There could be many reasons on why this does not work:

  • Make sure that your SQL service is up and running
  • Make sure that your database connection details are correct
  • Enable debug mode to see the exact error that is occurring

Can you share the exact error that you are getting?

Also if possible, can you please share the code snippet that you are using to do the import?

Regards, Bobby