mtamoor Posted May 27, 2009 Posted May 27, 2009 Hi I want to increment my orders_id each time by 25 numbers when creating a new order row in Order's table. I have tried to do this by getting the last_insert_id and adding 25 to it and then assigning it to the variable in array, before inserting data in the Orders table. But it just worked once. From next time it is auto_incrementing by 1 as usual. And my changes in code are having no effect. Can someone identify what can be wrong? or if you have done this please tell me. Regards.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.