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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:24:11+00:00 2026-05-29T06:24:11+00:00

I am writing a dynamic web page. The specific problem I am having is

  • 0

I am writing a dynamic web page. The specific problem I am having is dealing with taking form information and adding it to a user in a table in a database that already exists.

So, I have a landing page where someone enters their name, email and password. This works fine, and a user is created in the table in my database with the respective information included. I then reroute them to a page where I ask them to fill out more information. I automatically fill out their name and email fields with php. I have set up rules that prevent a duplicate email address. But I just want to add the additional information to the same user in the table in the database.

What I used to add the information to the database the first time they enter info:

//Insert user into the database
        $query = "INSERT INTO `tablename`
        (`first_name`, `last_name`, `email`, `salt`, `password`)
        VALUES
        ('$first_name', '$last_name', '$email', '$salt', '$password')";

What command do I use to add information to the same user on the next page?

  • 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-29T06:24:12+00:00Added an answer on May 29, 2026 at 6:24 am
    UPDATE table_name
    SET column1=value, column2=value2,...
    WHERE some_column=some_value
    

    May I recommend this tutorial?

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

Sidebar

Related Questions

I'm writing a pretty complex web form using ASP.NET Dynamic Data. Several of the
I am writing PHP code for a dynamic web page. The SQL query code
Writing the code for the user authentication portion of a web site (including account
What is the role of python for writing dynamic web pages? Does it play
I'm writing a web site with several forms of dynamic content. For instance, at
Hi I am writing a large stored procedure, which creates a dynamic report table,
I'm writing a web app that supports multiple users. Each user has their own
I writing a dynamic HTML parsers functionality. I will want to modify existing parsers
I'm currently writing about dynamic typing, and I'm giving an example of Excel interop.
I'm writing some code that uses dynamic shared libraries as plugins. My command line

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.