php-general | 2001072
Date: 07/24/01
- Next message: Alexander Wagner: "Re: [PHP] is this right"
- Previous message: Jeremy Morano: "[PHP] is this right"
- Maybe in reply to: Jeremy Morano: "[PHP] is this right"
- Next in thread: Alexander Wagner: "Re: [PHP] is this right"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> this doesn't work,how should it be done?
> insert into test (uid, companyUid)
> values(1, select uid from companysTable where company = "Micrsoft");
If you are using MySQL, it doesn't support sub selects...
Chris
- Next message: Alexander Wagner: "Re: [PHP] is this right"
- Previous message: Jeremy Morano: "[PHP] is this right"
- Maybe in reply to: Jeremy Morano: "[PHP] is this right"
- Next in thread: Alexander Wagner: "Re: [PHP] is this right"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

