Re: [PHP-DB] Re: multiple select statements

2002-03-05 Thread Andrés Felipe Hernández
$nombrearea ); if ( $nombreempresa ) { $sWhere.= armar_where ( "UPPER(e.nombreempresa)", $nombreempresa ). " "; $sql ="SELECT * FROM list WHERE $sWhere" } * - Original Message - From: "Leotta, Natalie (NCI/IMS)" <

RE: [PHP-DB] Re: multiple select statements

2002-03-05 Thread Leotta, Natalie (NCI/IMS)
I'd try building it piece by piece if you do have too many combinations - (I'm not promising efficiency, but I do something similar to this in one of my programs and it works). Have vars for each type of data: $firstName = ""; $lastName = ""; etc. Then you can set each one based on the selectio