skip to Main Content

SQLite insert upon page refresh – PHP

I have few input types on a form and a submit button as following: <form id="register_form" method="post" role="form" action=""> <input autofocus="" id="firstname" name"firstname" placeholder="First Name" type="text" required /> <textarea id="Address" name="Adress" placeholder="No Address" type="text" rows="3" cols="30"></textarea> <select id="country" name="country" required>…

VIEW QUESTION

Express and MySql

When I'm sending a POST request to MySql database, it adds the product but it shoots me with that error. Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at new NodeError (node:internal/errors:387:5) at ServerResponse.setHeader (node:_http_outgoing:603:11) at…

VIEW QUESTION
Back To Top
Search