User Profile

Collapse

Profile Sidebar

Collapse
dr9553
dr9553
Last Activity: Mar 3 '08, 10:01 PM
Joined: Feb 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dr9553
    replied to PHP MySQL two table question...
    in PHP
    Ok one last little thing with this. I have a drop down that i want to be able to select a brand from. this brand would then give me the list of products that i was asking about earlier. So when you select your brand this is the code i have:

    [PHP]<?php if(isset($_GET['brand_id'])){ ?>[/PHP]
    that then creates the table with all of the product data in it.

    Right now the table that is created contains all of...
    See more | Go to post

    Leave a comment:


  • dr9553
    replied to PHP MySQL two table question...
    in PHP
    i even got it working for another category too! finally im learning something!
    See more | Go to post

    Leave a comment:


  • dr9553
    replied to PHP MySQL two table question...
    in PHP
    OMG! You are a genius! thank you so very very much for the help. I was ready to punch my monitor on friday cause nothing i tried was working!

    THANK YOU!

    Donald
    See more | Go to post

    Leave a comment:


  • dr9553
    replied to PHP MySQL two table question...
    in PHP
    Ok but what do i put in my do while loop to have it display the correct information. Sorry i am new to some of this stuff.
    See more | Go to post

    Leave a comment:


  • dr9553
    started a topic PHP MySQL two table question...
    in PHP

    PHP MySQL two table question...

    Here is my dilemma. I have two tables that i am wanting to read data from.

    Table 1:
    product_id
    product_name
    classification_ id

    Table 2:
    classification_ id
    classification_ name

    What i want to be able to do is list all of the products in Table 1 but have the classification_ name from Table 2 be used instead of the classification_ id from Table 1.

    As of right now...
    See more | Go to post
No activity results to display
Show More
Working...