Jump to content

Recommended Posts

hii to all, ??? ???

 

I want to make two fields AUTO Increment in the same table. Is that possible, is there any way to do this.

                                              Please if anyone know how to do this, please send me..

 

THANKS<<<waiting for reply<<<

 

Link to comment
https://forums.phpfreaks.com/topic/163481-autoincrement-2-fields/
Share on other sites

Hii MadTechie..

 

Ok well I explain the problam

 

I hav 2 fields in table

 

pod_id = 1338000

pod_no = 1338000

 

What I want to do is to insert another 1000 records incremmenting both the current field content so the result would be

pod_id,pod_no

1338000,1338000

1338001,1338001

1338002,1338002

1338003,1338003

 

and so on. I am not sure which is the best way to do this.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.