debug en select

This commit is contained in:
humano 2018-07-03 17:33:30 -05:00
parent b96a156d56
commit a7eb28d717

View File

@ -16410,7 +16410,7 @@ $resultado="<SELECT class='form-control' NAME='$name' id='$name' onchange=\"$onc
<option value=''>$nombre</option>$vacio <option value=''>$nombre</option>$vacio
" ; " ;
if(isset($_REQUEST['debug'])){$debug = "$consulta";}else{$debug="";} // if(isset($_REQUEST['debug'])){$debug = "$consulta";}else{$debug="";}
while( $row = mysqli_fetch_array( $sql ) ) { while( $row = mysqli_fetch_array( $sql ) ) {
if($row["$value"]=="") {$resultado.="";}else{ if($row["$value"]=="") {$resultado.="";}else{
if($row["$value"] =="$valor"){$selected="selected";}else{$selected ="";} if($row["$value"] =="$valor"){$selected="selected";}else{$selected ="";}