Php > HTML and Php
Combo-BOX - Abstraction With function you can retrieve the combo-box
Combo-BOX - Abstraction With function you can retrieve the combo-box structure with its data query ($query); $cant_registros = $db -> num_rows ( ); $string = "
"; if ($seleccionado=="") $string .="
"; for ($i=1;$i<=$cant_registros;$i++) { $db -> next_record ( ); $value = $db -> Record[$campo_graba]; if ($valor_seleccionado == $db -> Record[$campo_seleccionado]) $string .= "
"; else $string .= "
"; $string .= $db -> Record[$campo_lista]; $string .= "
"; } $string .= "
"; return $string; } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage