Hello all,
i need some help with this i am trying to fill up a query upto a unlimited number this is what it is
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '1', '1', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
I want the query to go like this
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '2', '2', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '3', '3', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
What do i do .. as i have to put each one by one if i do it manually.. is there anyway i can put in place of the numbers '2' '3' and so on.. i just want the first and second instance to be going up in numbers
3 3
4 4
hope u understood
i need some help with this i am trying to fill up a query upto a unlimited number this is what it is
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '1', '1', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
I want the query to go like this
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '2', '2', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
INSERT INTO `t_logins_mbs` ( `lm_key` , `fk_logins` , `fk_mbs` , `lm_started` , `lm_ended` , `lm_active` , `lm_method` , `lm_period` )
VALUES (
'', '3', '3', '0000-00-00 00:00:00', '0000-00-00 00:00:00', '1', '', '0'
);
What do i do .. as i have to put each one by one if i do it manually.. is there anyway i can put in place of the numbers '2' '3' and so on.. i just want the first and second instance to be going up in numbers
3 3
4 4
hope u understood