Saludos, me sale un error cuando hago esto.
Código PHP:
$sql="select empweb.webNom, web.webPag, web.webCod from empweb, web where empweb.webCod=2 and empweb.empCod = 4 and empweb.webCon = 1 and empweb.webCod = web.webCod and empweb.webEst = 1 and web.webCon = 1 order by empweb.webCod asc"
echo $sql;
espero que me puedan ayudar