Viewing file: createmicrofin.php (4.5 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include ('passbook.php'); ?> <?php include ('receipt2.php'); ?> <?php include('session.php'); ?> <?php // Create connection $con=mysqli_connect("localhost","sarkmicr_user","rb!sar838","sarkmicr_data");
// Check connection if (mysqli_connect_errno())
// Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } else { echo "We are connected."; }
$result = mysqli_query($con,"SELECT ID, name FROM addmember");
?> </form>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
</head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Account Create</title>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script> <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" /> <style type="text/css"> table { border: 0px solid green; border-collapse: collapse; width:100%; }
table td { border: 0px solid green; }
table td.shrink { white-space:nowrap } table td.expand { width: 99% } </style> <style type="text/css"> a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } body { background-color: #CCC; } </style> <script language="JavaScript" type="text/javascript"> <!--
function Toggle(obj){ var val=obj.value; if (!obj.m){ obj.m=''; } if (!obj.m.match(val)){ obj.m+=','+val+','; } var hide=obj.m.split(','); for (var zxc0=0;zxc0<hide.length;zxc0++){ if (document.getElementById(hide[zxc0])){ document.getElementById(hide[zxc0]).style.display='none'; } } var show=val.split(','); for (var zxc1=0;zxc1<show.length;zxc1++){ if (document.getElementById(show[zxc1])){ document.getElementById(show[zxc1]).style.display=''; } } }
//--> </script> </head> <center> <body> <form id="form1" name="form1" method="post" action="microdatabase.php" enctype="multipart/form-data"> <table width="953" border="0" bgcolor="#FFFFFF"> <tr> <td ><?php include('header.php'); ?></td> <td colspan="2"></td ></tr> <tr> <td colspan="3"> <table width="945" border="0"> <tr> <td colspan="3" bgcolor="#CCCCCC"><?php include('menubar.php'); ?></td> </tr> <tr> <td width="210" bgcolor="#6699CC">Welcome <?php echo $user ?></td> <td width="335" bgcolor="#6699CC"><a href="logout.php">Logout</a></td> <td width="386" bgcolor="#6699CC"><?php echo "Today is " . date("d/m/y") . "<br>";?></td> </tr> </table> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"></td></tr> <tr> <td colspan="2"></td> </tr> <tr> <td colspan="3" bgcolor="#66CCFF"> <table width="944" border="0"> <tr> <td colspan="6" bgcolor="#D72427"> </td> </tr> <tr> <td bgcolor="#66CCFF">Account No</td> <td colspan="5" bgcolor="#66CCFF"><input name="account" type="text" id="account" tabindex="1" size="20" maxlength="20"/></td> </tr> <tr> <td width="127" bgcolor="#66CCFF">GROUP NAME</td> <td colspan="4" bgcolor="#66CCFF"><input name="gname" type="text" id="gname" size="60" maxlength="80" /> <label for="textfield2" ></label></td> <td width="182" bgcolor="#66CCFF"><label for="textfield"></label> <label for="textfield14"></label></td> </tr> <tr> <td bgcolor="#66CCFF">GROUP ADDRESS</td> <td colspan="5" bgcolor="#66CCFF"><input name="fname" type="text" id="fname" size="60" maxlength="80" /></td> </tr> <tr> <td height="38" bgcolor="#66CCFF">Join Date</td> <td colspan="2" bgcolor="#66CCFF"><input name="jdate " type="text" id="jdate" size="60" maxlength="80" /></td> <td width="105" bgcolor="#66CCFF">Branch Name</td> <td colspan="2" bgcolor="#66CCFF"><input name="branchname" type="text" required id="branchname" readonly="readonly" value="<?php echo $user ?>" tabindex="21" /></td> </tr> <tr> <td colspan="6" align="center" bgcolor="#D72427"><input type="submit" name="ADD" id="ADD" value="ADD" tabindex="22" /></td> </tr> </table> </td> </tr> </table> </form>
</body></center> </html>
|