Location: PHPKode > scripts > M-Ariza Maintenance Follow-up Web Application > m-ariza-maintenance-follow-up-web-application/mariza/admin/addproduct.php
<?
session_start();
include "../inc/logincheck.php";
include "../inc/conn.php";
include "../inc/head.php";
?>
<body>
    <form action="editproduct.php" method="POST" id="form1" name="form1">
        <table width="770" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td colspan="2">
                    <img src="../images/logo.gif" width="215" height="72">
                </td>
            </tr>
            <tr>
                <td height="10" colspan="2" bgcolor="#BBBBBB">&nbsp;
                    
                </td>
            </tr>
            <tr>
                <td width="107" height="379" align="center" valign="top" bgcolor="#DAD3FE">
                    <?include"../inc/menu.php"?>
                </td>
                <td width="836" valign="top">
                    <table width="500" border="0" cellpadding="0" cellspacing="0" align="left">
                        <tr align="center" bgcolor="#DDDDDD">
                            <td height="25" colspan="4">
                                <span> Maintenance Follow-up Form</span>
                            </td>
                        </tr>
                        <tr>
                            <td width="160" align="right"class="nice">
                                Add Product Name:
                            </td>
                            <td width="16">&nbsp;
                                
                            </td>
                            <td width="100">
                                <input name="urunadi" type="text" size="14">
                            </td>
                            <td>
                                <input type="submit" name="ekle" value=" Add Product">
                            </td>
                        </tr>
                        <tr>
                            <td align="right"class="nice">
                                Remove Product:
                            </td>
                            <td>&nbsp;
                                
                            </td>
                            <td>
                                <select name="silinecek">
                                    <?
			if($urunlerqu = mysql_query("SELECT * FROM urunler ORDER BY urunadi")){
      			if (mysql_num_rows($urunlerqu) > 0){
	      			while ($urun = mysql_fetch_array($urunlerqu)){
						echo "<option value=\"{$urun['urunadi']}\">{$urun['urunadi']}</option>\r";
					}
				}
			}	
			?>
                                </select>
                                <td>
                                    <input type="submit" name="sil" value="Remove">
                                </td>
                            </td>
                        </tr>
                    </table>
                    </tr>
                    <tr>
                        <td height="10" colspan="2" bgcolor="#BBBBBB">&nbsp;
                            
                        </td>
                    </tr>
                </table>
                </body>
            </html>
Return current item: M-Ariza Maintenance Follow-up Web Application