If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[RESOLVED] mySql and expandable or dynamic menus

I'm getting close, but still no gold ring. Been trying to set up a expandable menu for my articles directory (which contains the title, url, category and author information). I've tried several scripts such as yadm.js and ddaccordion.js which work just fine if the li's are hard coded. Just can't seem to get the code right to use query results.

The query returns the correct info, just can't get it to display correctly.

Code:

$query="SELECT url, title FROM articles WHERE category = 'accessibility' ORDER BY title ASC";