Hello
I have a mysql table and one of the fields is 'template'. This field will point to the correct template table to reference the unique fields for that particular template.
So for example if table.template = 'news', I also need to pull the info from the news_template table to have the complete set of listing info. Right now I only know how to do this with two separate query calls from PHP.
Is there anyway to do a join with a dynamic table name based on the data in one of the columns?
Thanks in advance!