Help to show results in 2 sections.

Discussion in 'PHP' started by hooi, Feb 18, 2011.

  1. #1
    Hi,

    I'm new to PHP, i need help urgently to have a page which shows results in 2 sections, Active and Expired Deals as shown in the attached file. Active&InactiveSections.jpg

    I've tried to edit the php file, on line 66 with the code but being unfamiliar with PHP i just can't get it to work, could someone please help! View attachment deal_listing.php

    Thank you very much for helping!!!

    Hooi.
     
    hooi, Feb 18, 2011 IP
  2. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you need to specify a where statement to your sql it looks like you are simply calling the variables and skipping this part. No one can really help you solve this completely without the database to reference as well
     
    srisen2, Feb 22, 2011 IP