Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am trying to update my faq page and right now every faq lists in order of category. However,I want to see each category listed and then each corresponding faq underneath for each category. How do I do this?

 

<? $result = sqlite_query($db, "SELECT * FROM faqs ORDER BY faqcategory DESC");

while($row = sqlite_fetch_array($result)) {?>

<ul>

<li><?php echo $row['faqquestion'];?></li>

</ul>

<p><?php echo $row['faqanswer']; ?></p>

 

Please help me- I am a total newbie!

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.   Paste as plain text instead

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