Jump to content

display results


menios

Recommended Posts

Hi what should i do if i want the results diplayed from my database to be clickable and when clicked move to a detailed view?

Thanks in advance

 

Can you explain in a little more detail what you mean?  Do you mean results returned from a query to a MySQL db using php?  I think you are using php because you are in the php forum.  This is a php specific problem - if you are talking about the front end. 

 

 

In this case you have to code a function that dynamically writes the html code, adding your returned results to a list of hyperlinks.  The hymperlinks again would point to a page which provided the more comprehensive information you want to display.   Unless someone else chimes in with a predefined function php may have that displays infomation (such as the php info function - which displays version and settings), I think you will have to actually code it.

 

Marc

Link to comment
https://forums.phpfreaks.com/topic/79817-display-results/#findComment-404199
Share on other sites

Sorry for the short description i ve experimenting with php and mysql, and i m quite new to this so please bear with me.

I have a main index.html page that links to some .php files  for returning results to an iframe from my database when the according button (my buttons are nested lists) is pressed.

I managed to display the items i want from the db but it's just a view.What i ve been trying to do is make each result clickable and when clicked to move to a detailed view of an items.

Link to comment
https://forums.phpfreaks.com/topic/79817-display-results/#findComment-404202
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.