debug en select

This commit is contained in:
humano 2018-07-03 17:31:53 -05:00
parent fa5259b873
commit b96a156d56

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 ="";}