| | |
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 |
ajax apache api array beginner beneath binary broadband broken button cakephp checkbox class cms code countingeverycharactersfromastring crack cron curl database date decode display dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail match md5 menu mlm multiple mysql mysql_real_escape_string oop paypal pdf php problem protocol query radio random recursion regex remote script search server session sessions sms smtp soap source space sql strip_tags survey syntax system table tutorial undefined update upload url validator variable video virus votedown web window.onbeforeunload=closeme; xml youtube





