<?php $sql ="select * from tabla"; $sql.=" where id=1"; $sql.=" and texto='algo'"; $sql.=" and fecha='fecha'"; mysql_query($sql);?>