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 7174089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:57:36+00:00 2026-05-28T15:57:36+00:00

I am currently working on a profile for my website. I am trying to

  • 0

I am currently working on a profile for my website. I am trying to make it so that I can save profile data that is stretched across multiple tables.

Profile looks like this

For example I have Personal info which is the main User Table. It holds personal information about the user.
Then I have separate tables for the usernames they have, as I will have other information pertaining to the user under that username.

Error looks like this

When trying to save the information to my database. I get this error: A referential integrity constraint violation. I have tried making individual forms for this, but I don’t see that working. My question is, do I make a HTTPPOST method for each table I want to save data to or can I do it in just 1 POST method?

  • 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-05-28T15:57:37+00:00Added an answer on May 28, 2026 at 3:57 pm

    My question is, do I make a HTTPPOST method for each table I want to
    save data to….

    You can make an POST for each form you are posting to the server. If the formfields in that form match a domain object (at least the primary key), then you might be able to use your database objects in this way. It depends on how your database objects are constructed.

    or can I do it in just 1 POST method?

    Yes, create a view model that contains members for all of the formfields on the form. Be sure to include hidden formfields for whatever primary keys you need for database lookups. When you POST, map the view model members to your database object.

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

Sidebar

Related Questions

I'm currently working on a Perl script to gather data from the QuakeLive website.
I'm currently working on a site that needs to generate a profile page for
I am currently designing a Membership/Profile scheme for a new project I am working
Currently working with converting SQLException error messages into messages that are more useful for
Currently working with the following package structure: /package __init__.py final.py /write __init__.py write.py /data
Currently working with NSURLConnection. Found a great website showing important delegate methods coming with
Im currently working on a game that uses multi touch to apply zoom to
Am currently working on an application that requires users to submit posts and comments
I'm trying my luck here. I am currently developing a website wherein people should
I'm familiar with using xcode to profile memory allocations, however I'm currently working on

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.