[thelist] MySQL: How to see which table it was, after UNION

Mike evolt at muinar.com
Fri Jul 9 01:27:12 CDT 2004

At 22:08 08.07.2004 -0400, you wrote:
>Yes. Add a constant in your union SQL.
>$query = "
>(select id as homeId,title as homeTitle,teaser as homeTeaser,date as
>homeDate, 1 as tableid

Thanks Matt and Tab, very appreciated.

I already had this idea. It didn't work, but it seems the error
came from somewhere else   ;)    Now it worked   :)


More information about the thelist mailing list