| | |
Multiple database tables
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jan 2008
Posts: 62
Reputation:
Solved Threads: 6
Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway.
I have two fields in a database, one of which holds a foreign key that is a primary key from the other:
USER(user_ID, username, password)
USER_INFORMATION(user_info_ID, user_ID, name, DOB, email, address)
when i put data into the database from a form on a page, how can i make it so that the right user_ID goes into the USER_INFORMATION table.
Hope i put that clear enough
I have two fields in a database, one of which holds a foreign key that is a primary key from the other:
USER(user_ID, username, password)
USER_INFORMATION(user_info_ID, user_ID, name, DOB, email, address)
when i put data into the database from a form on a page, how can i make it so that the right user_ID goes into the USER_INFORMATION table.
Hope i put that clear enough
![]() |
Similar Threads
- php drop down menu to search multiple sql tables (PHP)
- MySQL Multiple Table Search (MySQL)
- Interface page for my new database... (MySQL)
Other Threads in the PHP Forum
- Previous Thread: Having a bit of trouble figuring out my image upload script
- Next Thread: Help Please
| Thread Tools | Search this Thread |
advanced ajax apache api array basics beginner binary broken cakephp check checkbox class cms code combobox cookies cron curl database date datepart display dynamic echo email error file files folder form forms function functions google head href htaccess html image include includingmysecondfileinthechain insert integration ip java javascript job joomla js limit link login mail menu mlm multiple mysql oop parse password paypal pdf php problem procedure query radio random recursion regex remote script search server sessions smarty smash sms soap source space sql stored syntax system table traffic tutorial unicode up-to-date update upload url validator variable video web xml youtube





