get ID at time of insert / replicate value into other
Is it possible to get the ID of what the entry in the MySQL DB is going to
be ? Or even better replicate the value of ID into another field ? For
example I have:
ID and User_ID and I want them always to be the same value
--------------------
| ID User_ID |
| 1 1 |
| 2 2 |
| 3 3 |
| 4 4 |
| 5 5 |
--------------------
And so on
No comments:
Post a Comment