User Profile

Collapse

Profile Sidebar

Collapse
jeremyjcochran
jeremyjcochran
Last Activity: Nov 4 '09, 09:40 PM
Joined: Dec 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Form that submits data to three tables, need help linking two tables to one

    I want one form to submit to 3 different tables in MYSQL... I got them to submit to the right tables, but I want to take the first tables id (primary key, auto_increment) and make that the realtor_id of the other two tables. Anyone know what I need to put in the field of the other 2 to make it read it properly? Heres what I have so far...

    Code:
    if($_POST['submit'])
    {
    
    $sql = "INSERT INTO logins (username, password)
    ...
    See more | Go to post

  • jeremyjcochran
    started a topic HTML SELECT multiple VALUES?

    HTML SELECT multiple VALUES?

    I am writing a code for a shopping cart, the customer selects the color, which also has the price. I want to send the color and the price to "price" and "color" on the mysql server. How do I code a SELECT to send two different variables to two different mysql names?

    I have this right now....

    Code:
              echo "<select name='priceBox' name2='colorBox'>";
    
                 echo "<option
    ...
    See more | Go to post

  • jeremyjcochran
    started a topic Help me please!!
    in PHP

    Help me please!!

    I'm trying to make an online store and have everything working so far. The only problem I am having is making a multi level navigation. When someone clicks "mens" section it brings up stuff like "tshirt", "hats", etc. That works fine, my problem is when they click on that I want the same sub navigation to be there so they can still look at "tshirt", "hats", etc without having to click "mens"...
    See more | Go to post
    Last edited by Markus; Jan 1 '09, 03:57 PM. Reason: [code] tags
No activity results to display
Show More
Working...