Advertisement

07.06.2008 at 11:50AM PDT, ID: 23541919
[x]
Attachment Details

Display problem of mysql sort

Asked by pertrai1 in PHP and Databases, PHP Scripting Language

Tags: php mysql

Hi, I have a database set up for a FAQ. For each question I have a order where each question is giving a numerical placing with default being 0. I had 9 records and they sorted fine ASC. When I added the 10th record it showed up between 1 and 2. How can I have it so that the records will show up correctly in order? I query the database simply with $query_faq = "SELECT * FROM faq ORDER BY `order` ASC";

Thank you in advance for help.

RobStart Free Trial
[+][-]07.06.2008 at 11:54AM PDT, ID: 21941259

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP and Databases, PHP Scripting Language
Tags: php mysql
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628