Go4Expert

Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   php & mysql help (http://www.go4expert.com/forums/php-mysql-help-t25526/)

elina 14Apr2011 21:09

php & mysql help
 
can you provide a simple php code for search feature please.

ManzZup 15Apr2011 20:35

Re: php & mysql help
 
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]

elina 15Apr2011 21:12

Re: php & mysql help
 
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

ManzZup 16Apr2011 09:59

Re: php & mysql help
 
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


All times are GMT +5.5. The time now is 15:54.