Total Zero
Posts: 5
50 credits Members referred : 0
« on: Jan 06, 2009, 11:38:43 am »
Hello all,
I'd like to know if there is a way to insert into a MYSQL table data in an ordered way? Right now as a workaround I've literally made a table of questions with questionID as primary key, nextQuestion and prevQuestion pointing to other questionIDs. Basically I've made a two way linked list from scratch. Is there anything built into MYSQL that implements this?
Thanks in advance.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6690
34708 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jan 06, 2009, 01:35:22 pm »
why do you need that? while selecting records you can set the order.
If it takes to much time you need to set an index on the column where the query is based on: