can i achive the following in 1 mysql statement?
(in plain english)
select field a b & c from 1sttable where field z = 1
select field g & h from 2ndtable where h = a b & c
this is my attempt!:mad:
SELECT name, html FROM pt_core_wwwpages WHERE (
(
name = pt_core_profiles.header
WHERE (pt_core_profiles.profile_id =1)
)
OR
(
name =pt_core_profiles.sidebar
WHERE (pt_core_profiles.profile_id =1)
)
OR
(
name =pt_core_profiles.footer
WHERE (pt_core_profiles.profile_id =1)
))
many thanks