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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.