Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Web Form Data

Featured Replies

I am not sure if I understand the problem!

Looks like you are trying to intercept data from another site!

 

Perhaps a little more detail would be useful and other members could help. :)

 

All the best

Ric :)

  • 2 weeks later...
  • Author

Since my original post, I've moved the site (forms) in question to:

http://www.sparklinginterior.com/quote.html

 

I'd like to incorporate PHP to receive people's inquiry. There, they have to complete the form and submit.

This is where I'd like to receive their information and I need help to incorporate that, a database.

 

I've never done this before and will be using mySQL.

 

Thanks!

To get you started you require a page to process your form data.

Create a new page named test.php this should be in the same location as quote.html

 

Edit quote.html and locate this line:

You currently have a blank action. This should point to the page that will do the processing. Hence change the line to:

 

Currently you have a large number of form tags I assume you only want to submit a single form hence remove all form tags below the above.

 

Keep the last form tag as shown below

 

Your form-processing page will have the following format:

<?php

if (isset($_POST['first_name'])){
 $first_name = $_POST['first_name'];
 // Validate
 print $first_name;
}
else{
 // what to do if field is not set
}

// Similar for other inputs
// If no code injection save to MySQL
// Send something back to user
?>

Like I said something to get you started.

 

All the best

Ric :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.