these are the codes
<form action="insert.php" method="post">
<p>
<label for="firstName">Full Name:</label>
<input type="text" name="full_name" id="fullName">
</p>
<p>
<label for="tracking">Tracking No.</label>
<input type="text" name="tracking" id="track">
</p>
<input type="submit" value="Submit">
</form>
3
Answers
I understand that you’re encountering an issue where clicking the "submit" button isn’t resulting in any action. There could be several reasons for this problem, and I’ll provide some common troubleshooting steps to help you diagnose and potentially resolve the issue:
Check Internet Connection: Ensure that you have a stable internet connection. Sometimes, a slow or intermittent connection can prevent actions like submitting a form from working correctly.
Browser Compatibility: Make sure you are using a modern and supported web browser. Some websites and web applications may not function properly on outdated or unsupported browsers.
JavaScript Enabled: Many interactive websites rely on JavaScript. Ensure that JavaScript is enabled in your browser settings.
Form Validation: Check if there are any error messages or missing required fields in the form. Ensure that all necessary information is filled out correctly before submitting.
Pop-up Blockers: Pop-up blockers or browser extensions can sometimes interfere with form submission. Disable any pop-up blockers and try again.
Cookies and Cache: Clear your browser’s cache and cookies, as outdated data can sometimes interfere with website functionality.
Browser Extensions: Certain browser extensions or add-ons may cause conflicts with website functionality. Try disabling extensions one by one to see if any of them are the cause.
Server Issues: The issue might not be on your end; it could be related to the website’s server. In such cases, you may need to wait for the website to resolve the problem.
JavaScript Errors: Check the browser console (usually accessible by pressing F12 or right-clicking on the page and selecting "Inspect" or "Inspect Element," then going to the "Console" tab) for any JavaScript errors. These errors can provide clues about what’s causing the issue.
Network Firewall or Security Software: If you are on a network with strict security settings or using security software, they might block certain actions. Try accessing the website from a different network or temporarily disable security software to test.
Contact Support: If none of the above solutions work, consider contacting the website’s support team or administrator for assistance. They may be able to provide specific guidance related to the website or application you are using.
action="" attribute is required on
<form>
tag, without action it will do nothing.Use the action attribute in the form tag.