Jump to content

Help in making UserID


cruxaders

Recommended Posts

How can i make a table where his userid will start in 100-000

 

so when someone will register..

 

his userid will be 100-000 and so on..

 

 

and for example i got 2 table....

 

Tabel 1 and table 2...

 

Pk on table 1 is userid...

and table 2 will also have a userid same in table 1.. so that if i need to call somethin in table 2.. i will compare the userid only....

 

 

Link to comment
https://forums.phpfreaks.com/topic/230218-help-in-making-userid/
Share on other sites

i attach the images below which will show u that how my table is..

 

 

wat i want is the UserID will be the foreign key in sallary table...

 

because user UserID was in registration Table...

 

so how can i have a UserID in salary table and they have a same value in registration table..please help me

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.