</div>
		<!--  end step-holder -->
	
		<!-- start id-form -->
		 	<form method="post" enctype="multipart/form-data" class="signin" action="piccontroller.php">
		<table border="0" cellpadding="0" cellspacing="0"  id="id-form">
		<tr>
		<th>Select Gallery:</th>
		<td>
					<select id="d" name="gname" style="width:170px;" onchange="update(this.value)">
					<option></option>
					<?php 
require_once '../dbLayer/connection.php';
$mysql = "select * from album";
$connect = new connection();
$connect->Make_connection();
$result = $connect->executeQuery($mysql);
while ($row = mysql_fetch_array($result)) {
    ?>
							<option value="<?php 
    echo $row['album_title'];
    ?>
"><?php 
    echo $row['album_title'];
    ?>
</option>
						<?php 
}
?>
					</select>
				</td>