1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

php search issue

Discussion in 'PHP' started by subha rr, Dec 23, 2008.

  1. #1
    Hi.....

    below the php code for search name and date

    this code cannot display the search details...

    Pls help me
     
    subha rr, Dec 23, 2008 IP
  2. iDemonix

    iDemonix Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have literally just glanced over that code, you really need to read a guide on good practice like indenting and proper caps in SQL. Anyway with about a 5 second glance I see you're using like 'nam' - should this be like '$nam' and without regards to that, like needs a % to make it useful. '%nam' will found vietnam for example, 'nam%' will found name and '%nam%' will find asdnamasd.
     
    iDemonix, Dec 23, 2008 IP