Código PHP:
$result = mysql_query("SELECT id_cotprcgexpo_mar, _wwout.port, _wwin.port, trans, final, name, frec, TT, dateConf, validity, confirmed, comments, region, type
FROM toctrack_cotprcgexpo_mar
LEFT JOIN toctrack_cat_ports_ww _wwin ON ( toctrack_cotprcgexpo_mar.pod = _wwin.id_port_ww )
LEFT JOIN toctrack_cat_ports_ww _wwout ON ( toctrack_cotprcgexpo_mar.pol = _wwout.id_port_ww )
LEFT JOIN toctrack_cat_shipping_lines ON ( toctrack_cotprcgexpo_mar.carrier = toctrack_cat_shipping_lines.id_shipping_lines )
LEFT JOIN toctrack_region ON ( toctrack_cotprcgexpo_mar.id_cregion = toctrack_region.id_region)
$condition") or die("Invalid query: " . mysql_error());
Gracias de antemano!