php & mysql help

Discussion in 'PHP' started by elina, Apr 14, 2011.

  1. elina

    elina New Member

    Joined:
    Apr 14, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    can you provide a simple php code for search feature please.
     
  2. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    http://zontek.zzl.org
    is your site DB powered or just a site and you thinking of a crawler ? [if the secind one, google gives one free but with thier logo :D]
     
  3. elina

    elina New Member

    Joined:
    Apr 14, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i got help with that thanks.

    but can you help me with this thing now >i have this page where the employee will search for a customer by thier surname then the name and surname of the customer will appear on the same page. but im trying to have a page linked to that so that when the employee clicks on the name it would take them to the cusotmer page and will show all cusomter details with thier payement detials and would have a delete, update and add payment button.


    could you please help me with the code pleaseeee
     
  4. ManzZup

    ManzZup New Member

    Joined:
    May 9, 2009
    Messages:
    278
    Likes Received:
    43
    Trophy Points:
    0
    Occupation:
    Production Manager:Software @ ZONTEK
    Location:
    Sri Lanka
    Home Page:
    http://zontek.zzl.org
    i cannot tell an exact code nwothout DB structures, but i can tell you the logic
    first make a php page to sho the required details,

    ex: viewCustomer.php
    it takes ID as an argument to show the contect information viewCustomer.php?id=3

    then in you search genertor, link the search items to that page

    ex: user search for "McIntosh"
    your search script generate
    <a href="viewCustomer.php?id=<the_id_from_db">Peter McIntosh</a>

    like that
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice