Jump to content

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]

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.