1
0
Fork 0

debug en select

This commit is contained in:
humano 2018-07-03 17:31:53 -05:00
parent fa5259b873
commit b96a156d56
1 changed files with 1 additions and 1 deletions

View File

@ -16410,7 +16410,7 @@ $resultado="<SELECT class='form-control' NAME='$name' id='$name' onchange=\"$onc
<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 ) ) {
if($row["$value"]=="") {$resultado.="";}else{
if($row["$value"] =="$valor"){$selected="selected";}else{$selected ="";}