1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

php & mysql help

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

  1. elina

    elina New Member

    can you provide a simple php code for search feature please.
  2. ManzZup

    ManzZup New Member

    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

    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

    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