/ Published in: PHP
Expand |
Embed | Plain Text
<?php require 'config.php'; ?> <?php # | $Id$ } # | db connection $idNumerial = $_GET['idNum']; if (!$con) { } $sql="SELECT * FROM contacts Where idNum = $idNumerial"; } $i = 0; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="includes/list.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="includes/scripts.js"></script> </head> <body onLoad="MM_preloadImages('images/add.gif','images/delete.gif','images/edit.gif','images/stats.gif','images/logout.gif');"> <div id="outerContainerSmall"> <div id="newHeaderSkinny"> <div id="logo"><img src="images/globallogo.gif" width="250" height="75" /></div> <div id="pageTitleSkinny"> <h1>Edit Contact</h1></div> </div> <form action="editcontact.php" method="post" name="htmlEmail" id="htmlEmail"> <table width="600" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="100">First Name</td> <td><input name="firstName" type="text" class="textFieldStyle" id="firstName" alt="First Name" value="<?php echo($firstName); ?>"></td> </tr> <tr> <td colspan="2"><img src="images/spacer.gif" width="10" height="10"></td> </tr> <tr> <td>Last Name</td> <td><input name="lastName" type="text" class="textFieldStyle" id="lastName" alt="Last Name" value="<?php echo($lastName); ?>"></td> </tr> <tr> <td colspan="2"><img src="images/spacer.gif" width="10" height="10"></td> </tr> <tr> <td>Email</td> <td><input name="email" type="text" class="textFieldStyle" id="email" value="<?php echo($email); ?>" alt="Phone"></td> </tr> <tr> <td colspan="2"><img src="images/spacer.gif" width="10" height="10"></td> </tr> <tr> <td>Title</td> <td><input name="title" type="text" class="textFieldStyle" id="title" value="<?php echo($title); ?>"></td> </tr> <tr> <td colspan="2"><img src="images/spacer.gif" width="10" height="10"></td> </tr> <tr> <td>Occupation</td> <td><input name="occupation" type="text" class="textFieldStyle" id="occupation" value="<?php echo($occupation); ?>"></td> </tr> </table></td> </tr> <tr> <td><img src="images/spacer.gif" width="10" height="20"></td> </tr> <tr> <td align="center"><input name="imageField" type="image" id="imageField" onClick="MM_validateForm('firstName','','R','lastName','','R','phone','','R','email','','R');return document.MM_returnValue" src="images/update.gif"> <a href="main.php"><img src="images/cancel.gif" alt="Cancel - Back to Main" width="173" height="28" class="buttonSpacer"></a> </td> </tr> </table> </form> </div> </body> </html>
You need to login to post a comment.
