helpchrisplz
asked on
jquery accordion populate headings with records
hi all please can any one help.
i have this accordion jQuery
http://jqueryui.com/demos/accordion/
i am looking to try and populate the headings with a result from a php query.
the thing is i need to know how to automatically add new headings to the accordion if lots of results are found by my php database query.
hope i have explained well. thx for any comments.
i have this accordion jQuery
http://jqueryui.com/demos/accordion/
i am looking to try and populate the headings with a result from a php query.
the thing is i need to know how to automatically add new headings to the accordion if lots of results are found by my php database query.
hope i have explained well. thx for any comments.
Is the content of the accordion static (hard coded) or dynamic (an AJAX response per se)?
ASKER
i have a online games league. am letting players create a war / appointment. and on each clan profile this accordion will show the date, name of clans as the heading in the accordion then if the user clicks the heading it will expand and show more information about the league match appointment.
need to add more headings to the accordion if there are loads of upcoming league wars / appointments booked in.
need to add more headings to the accordion if there are loads of upcoming league wars / appointments booked in.
ASKER
so depending on the amount of records produced by the while loop i need to count them and have that as the number of headings in the accordion and then populate each heading with each record
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ahh looks so simple i understand now. i will test tomorrow as its 3:37 AM here
ASKER
thx