|
|
|
<script language="JavaScript">
<!--
function surfto(form,db,connect_counter,element)
{
var myindex=form.select1.selectedIndex
if (form.select1.options[myindex].value != "0")
{
prim=form.select1.options[myindex].value;
location = "db_connect.php3?&db="+ db +"&connect_counter=" +
connect_counter + "&element=" + element + "&prim=" + prim;
}
}
//-->
</SCRIPT>
<form method="post" name="form1" enctype="application/x-www-form-urlencoded">
<select NAME="select1" onChange="surfto(this.form,<?echo"'$db',$connect_counter,
$element";?>)" SIZE=1>
<OPTION SELECTED VALUE="0"> ---- Choose one ---------
<?
while ($row = mysql_fetch_row($result))
{
echo "<option value=$row[0]>$row[1];$row[2]";
}
?>
</SELECT>
</FORM> |
|
| html split bar used to split in multiple pages a database result Categories : HTML and PHP, Databases, MySQL, PHP | | | Automatically printing the contents of an sql table in MySQL. Categories : MySQL, PHP, HTML and PHP, Databases | | | Building dynamic menus with PHP & MySQL (ADO), JavaScript and CSS Categories : PHP, Databases, MySQL, Java Script, User Interface | | | Dynamically generated pop-ups (Select items) Categories : PHP, HTML and PHP, MySQL, Databases | | | Message of the Day - Random Message (Needs MySQL!) Categories : Databases, HTML and PHP, PHP, MySQL | | | Alternating background color for HTML table rows Categories : PHP, Databases, MySQL, HTML and PHP | | | A very simple way to build and do a hierarchical html categories browser without javascript , just using html php and mySql
Categories : HTML and PHP, Databases, Algorithms, PHP, MySQL | | | Linked comboboxes with php-mysql & javascript Categories : PHP, Java Script, Databases, MySQL | | | Functions for loading images into a MySQL database and displaying them. Categories : Graphics, HTML and PHP, MySQL, PHP, Databases | | | Creating thumbnails from MySQL Blobs online Categories : PHP, MySQL, Graphics, HTML and PHP, Databases | | | This function will populate the options in a drop down HTML select list
in a form from a database query.
Categories : MySQL, General SQL, PHP, HTML and PHP, Databases | | | How can i Preload a 'SELECT MULTIPLE'? Categories : HTML and PHP, PHP, MySQL, Databases | | | Record Set Paging with PHP (RSP) Categories : PHP, MySQL, Navigation, Databases, HTML and PHP | | | dynamic table columns Categories : PHP, HTML and PHP, Arrays, Databases, MySQL | | | Editing the virtusertable and sendmail.cw via PHP3.0 and Mysql Categories : MySQL, HTML and PHP, PHP, Databases | |
|
|
|