|
Posted by sheldonlg on March 27, 2008, 4:21 pm
Please log in for more thread options The Natural Philosopher wrote:
> Dave wrote:
>> Ok so i have a database with a table users. The users each have a
>> unique id. Now i want to create another table called profile where the
>> users can edit their profile and it will be stored in the profile
>> table. But i need to somehow connect the tables together so when the
>> user saves itll save the information in the table profile under their
>> id that they have in the users table.
>>
>> Help!
>
> Select *from profile, user where profile.user=$userid
>
> update profile set () where profile,.user=$userid.
No comma before the .user (we all make typos)
|