Php help

³Hey y’all. Noob here.
I have a form that i can select users that are already in the db with their names. But i want to submit their userid to another db table instead of their names since I’m using their IDs as foreign keys. How do i go about this??

https://thumbs.gfycat.com/ScaredPalatableGar-size_restricted.gif

how is this helping him

I would really want to help you but there are some basic in your quest that you are skipping… Go back to the basic since if try to explain this i will have to write do a lot of writing. But for the a starter, you can commit the ID to the two table simultaneously at the point of record creation.

Google

Paste bean code share link

Thanks y’all
Nilipata usaidizi

copy your code here we help or add on git share the link

Niaje ghasia naona umerudi na mbwembwe.