Notice: Undefined index: acc in /users/force-world/www/pages/admin/create_item.php on line 58 " maxlength="11"/>
?><form action="index.php?s=admin&a=create_item" method="POST"> <table> <tr> <th class="topLine">Für AccountID:</th> <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP echo $_GET['acc']; ?>" maxlength="11"/></td> </tr> <tr> <th class="topLine">Ort</th> <td class="thell"> <select name="window"> <option value="SAFEBOX">Lager</option> <option value="MALL">IS-Lager</option> <!-- <option value="INVENTORY">Inventar</option> --> </select> </td> </tr> <tr>
?><form action="index.php?s=admin&a=create_item" method="POST"> <table> <tr> <th class="topLine">Für AccountID:</th> <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP echo if (isset($_GET['acc'])) ; ?>" maxlength="11"/></td> </tr> <tr> <th class="topLine">Ort</th> <td class="thell"> <select name="window"> <option value="SAFEBOX">Lager</option> <option value="MALL">IS-Lager</option> <!-- <option value="INVENTORY">Inventar</option> --> </select> </td> </tr> <tr>
Quote: Originally Posted by Du.ke Spoiler PHP Code: ?> <form action="index.php?s=admin&a=create_item" method="POST"> <table> <tr> <th class="topLine">Für AccountID:</th> <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP echo $_GET['acc']; ?>" maxlength="11"/></td> </tr> <tr> <th class="topLine">Ort</th> <td class="thell"> <select name="window"> <option value="SAFEBOX">Lager</option> <option value="MALL">IS-Lager</option> <!-- <option value="INVENTORY">Inventar</option> --> </select> </td> </tr> <tr> 50-70
?> <form action="index.php?s=admin&a=create_item" method="POST"> <table> <tr> <th class="topLine">Für AccountID:</th> <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP echo $_GET['acc']; ?>" maxlength="11"/></td> </tr> <tr> <th class="topLine">Ort</th> <td class="thell"> <select name="window"> <option value="SAFEBOX">Lager</option> <option value="MALL">IS-Lager</option> <!-- <option value="INVENTORY">Inventar</option> --> </select> </td> </tr> <tr>
?> <form action="index.php?s=admin&a=create_item" method="POST"> <table> <tr> <th class="topLine">Für AccountID:</th> <td class="tdunkel"><input type="text" name="aid" size="11" value="<?PHP if(isset($_GET['acc']){ echo $_GET['acc']; } ?>" maxlength="11"/></td> </tr> <tr> <th class="topLine">Ort</th> <td class="thell"> <select name="window"> <option value="SAFEBOX">Lager</option> <option value="MALL">IS-Lager</option> <!-- <option value="INVENTORY">Inventar</option> --> </select> </td> </tr> <tr>
**** error: syntax error, unexpected '{' in /users/force-world/www/pages/admin/create_item.php on line 55