
03-16-2011, 12:09 PM
|
|
Junior Member
|
|
Join Date: Mar 2011
Posts: 5
|
|
Quote:
Originally Posted by jurwanwall
#
INSERT INTO question_list
#
SET TEXT='The text of the question',
#
previous_id='-1',
#
next_id='-1';
#
INSERT INTO question_list
#
SET TEXT='Inside question text',
#
previous_id=LAST_INSERT_ID(),
#
next_id=-1;
#
#
UPDATE question_list
#
INSERT INTO question_list
#
SET TEXT='Inside question text',
#
previous_id=LAST_INSERT_ID(),
#
next_id=-1;
#
#
INSERT INTO question_list
#
SET TEXT='Last question text',
#
previous_id=LAST_INSERT_ID(),
#
next_id=-1;
|
exactly that's correct check this up i too have used..
Jewish Recipes
|