I was wondering if it were possible to show an image along with the result.
Assuming that the page title is known as the results are being printed and if the page_titles and path_to_pic fields were to held in a table, I thought that a query could be performed to find the page title from the table and then echo out its associated image.
Could this be done?
If so, could someone tell me whereabouts in the search.php script are the results printed. Im more familiar with SQL than I am with with PHP but if I knew where to start it would help.
Thanks,
jpn
Assuming that the page title is known as the results are being printed and if the page_titles and path_to_pic fields were to held in a table, I thought that a query could be performed to find the page title from the table and then echo out its associated image.
Could this be done?
If so, could someone tell me whereabouts in the search.php script are the results printed. Im more familiar with SQL than I am with with PHP but if I knew where to start it would help.
Thanks,
jpn
Comment