Forum Moderators: coopster

Message Too Old, No Replies

php more info buttons

getting more info based on what os in the mysql data

         

togethercomms

11:48 am on Jun 22, 2009 (gmt 0)

10+ Year Member



I have been experimenting to see if i can display specific data after a user has cicked a more info button.

What i need to do is have a more info button and after you clicked it i want specific data to come up about that subject only.

Their will be alot of different subjects and more information behind each subject.
I am working on a template, after you click the more info button it will open the template and in that it will display the specific information of that subject, i want to only use one template and that template woould display all the different types of information.

At the moment i get everything, i greated 3 records and i wanted to display one recoprd but everytie i click the button i get the whole lot.

Your help is appreciated (again)

mvaz

12:04 pm on Jun 22, 2009 (gmt 0)

10+ Year Member



You could do it by having more info button for every result that you get in the first instance, and then when the button is clicked, it extracts all relavant details for that particular record.

togethercomms

12:09 pm on Jun 22, 2009 (gmt 0)

10+ Year Member



would i have to create a new table?
would i use an id key and from that it would only select that record?

mvaz

12:13 pm on Jun 22, 2009 (gmt 0)

10+ Year Member



As I see, you already have a table that publishes the link or the summary of the info. You could use the same id from that very table to achieve this.

togethercomms

1:50 pm on Jun 22, 2009 (gmt 0)

10+ Year Member



i have a table the has all the info in it, does that matter?
or should they have different tables per subject?

togethercomms

10:27 pm on Jun 22, 2009 (gmt 0)

10+ Year Member



i found what i was after, a little looking and found what i needed

[webmasterworld.com...]

Many Thanks for all your help