Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7779899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:46:05+00:00 2026-06-01T18:46:05+00:00

I am trying to convert a paper form to a PHP form that will

  • 0

I am trying to convert a paper form to a PHP form that will save property listing information to a database and I’m having trouble wrapping my mind around the best method for doing this. I’m good with PHP, but a bit rusty with database structure and normalization.

I need one table (tblListing) for the property details (listing number, price, address, etc).

But then I need another table (tblPropFeatures) for the property features (Central A/C, Central Heat, Tile, etc)

And yet another (tblLotFeatures) for the lot features (Corner Lot, Cul-de-sac, etc).

The paper form I’m trying to replace has over a hundred checkboxes for property features and lot features, so I want to make sure I separate these so that the db is properly normalized.

But I can’t figure out if I need some sort of linking table or if I can just use a regular join.

I’d also like to be able to build the list of checkboxes dynamically from the features that are included in the database table. If a new feature needs to be added in the future an admin can log into phpMyAdmin and add a column to the PropertyFeatures table and the PHP form would be dynamically updated when refreshed and show a new checkbox for the new feature in the db.

Thanks in advance for your help and advice

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:46:06+00:00Added an answer on June 1, 2026 at 6:46 pm

    You need a “listing property features” table that joins listing to propFeatures and a “listing lot features” that joins listing to lotFeatures

    These are called many-to-many relationships. You have many property listings that can each have many lot or many property features.

    This also achieves your goal of being able to build your checkboxes dynamically. You just need to select all the features from each table and loop through them to make a checkbox. If you joined the properties directly to the features you’d have to duplicate each feature entry.

    Just make sure you create each table with a primary key and then index those keys in the joining tables.

    Hope that helps! Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to convert the following but am having difficulty. Can anyone see where I'm
I'trying to convert a float to an int value in php: var_dump((int)(39.3 * 100.0));
How to extract and save array from string parameter? I'm trying convert string beafore_create
I´m trying to convert that: <% var obj = Model.Div; %> <script type=text/javascript> var
I'm trying to convert the math presented on this paper: http://www.bouncingchairs.net/pskalman-lategecco.pdf Around page 3
Trying to convert the following php method to use in a .less stylesheet: <?php
Im trying to convert 5 PHP arrays to 5 js arrays. I used to
Im trying to convert this php function to javascript: function sanitize_words($string,$limit=false) { preg_match_all(/\p{L}[\p{L}\p{Mn}\p{Pd}'\x{2019}]{1,}/u,$string,$matches,PREG_PATTERN_ORDER); return
I've been trying to convert SVG images to PNG using C#, without having to
I'm trying to convert some code that worked great in VB, but I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.