Re: dropdown with two Sql query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Jun 25, 2011, at 3:57 PM, asp kiddy wrote:

SELECT td.id_resultat,td.fld_email_id,email.fld_name_email
 FROM $table_db td
 JOIN $table_db_email email ON td.fld_email_id = email.id_email
WHERE td.id_resultat = $id

I see two small problems right away:

> FROM $table_db td

should read:

FROM $table_db AS td

and:

> JOIN $table_db_email email

should read

JOIN $table_db_email AS email

Maybe that's it?



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux