User Profile

Collapse

Profile Sidebar

Collapse
reigns7703
reigns7703
Last Activity: Dec 3 '12, 08:20 PM
Joined: Dec 3 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi Rabbit,
    Please forgive my ignorance, but how do I go about doing that?
    See more | Go to post

    Leave a comment:


  • And then I have....

    Code:
                <?php do { ?>
                <p><img src = "images/<?php echo $row_Test['Product_Image_Small']; ?>" align="left"/><br />
                   <a href="productdetails.php?recordID=<?php echo $row_Test['Product_ID']; ?>" >
                   <?php echo $row_Test['Product_Title']; ?></a><br />
    ...
    See more | Go to post

    Leave a comment:


  • Create dropdown menu retrieves all items in a database

    Code:
    $query_Test = "SELECT * FROM Products WHERE Product_Type='$Product_Type' ORDER BY Product_Title ASC";
    $query_limit_Test = sprintf("%s LIMIT %d, %d", $query_Test, $startRow_Test, $maxRows_Test);
    $Test = mysql_query($query_limit_Test, $WPhoto) or die(mysql_error());
    $row_Test = mysql_fetch_assoc($Test);
    
    
                <form id="form1" name="form1" method="get"
    ...
    See more | Go to post

  • reigns7703
    started a topic Dropdown Menu Item to GET All in a database?
    in PHP

    Dropdown Menu Item to GET All in a database?

    Hi all!
    I am a newbie and unfamiliar with PHP and MySQL... I am trying to create a dropdown menu that defaults to all items in my database while still allowing one to also filter to certain products. Right now, I have a database named Products and am trying to base my dropdown off of the three different Product_Type items (Chips, Dips & Marinades, Rubs). Below is my code that I have so far which gets the individual Product_Type items,...
    See more | Go to post
    Last edited by zmbd; Dec 9 '12, 03:05 PM. Reason: [Z{Please use the <CODE/> button to format posted code/HTML/SQL}]
No activity results to display
Show More
Working...