View Single Post
  #6 (permalink)  
Old 03-16-2011, 12:09 PM
israpost israpost is offline
Junior Member
 
Join Date: Mar 2011
Posts: 5
israpost is on a distinguished road
Quote:
Originally Posted by jurwanwall View Post
#
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
Reply With Quote