Hi all,
I’m very new to all this, so hopefully even if I can’t get a solution, maybe somebody can point me in the right direction at least.
I’ve been given a project at work so I can improve my PHP/website skills, however I have come to a halt.
What I am trying to do is have a search box on a webpage, used to search our database (It’s MSSQL, not MySQL by the way) and then display the result as a dropdown box with just dates showing (on the same page), i.e. the dates that the search term has been found on.
I have figured out the sql query, I am already connected to the database in the php file, so what I would like some pointers in, is the best method to display my search result on the webpage. There is already a drop down box on the page with a list of all dates so that users can retrieve data from any given date, this will hopefully be used to display the search result dates as well.
What do I need to supply (if anything) to help people provide any answers/suggestions? I can’t link to the page as it’s an internal website, and I also have to be aware of posting too much here for security reasons. Sorry to be so vague, I have tried searching the manual and various other tutorials and sources, but nothing seems to quite fit my exact scenario.
Thank you in advance.
-Pete.