File Manager
Editing: addproducterror.php
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Add Product</title> </head> <body> <h1>Add a Product</h1> <form action="processproduct.php" method="POST" enctype="multipart/form-data"> <label for="name">Product Name:</label> <input type="text" id="name" name="name" required><br> <label for="description">Description:</label> <textarea id="description" name="description" required></textarea><br> <label for="price">Price:</label> <input type="number" id="price" name="price" required><br> <label for="category">Category:</label> <input type="text" id="category" name="category" required><br> <label for="region">Region:</label> <input type="text" id="region" name="region" required><br> <label for="state">State:</label> <input type="text" id="state" name="state" required><br> <label for="contact">WhatsApp number:</label> <div class="phone-input"> <select id="country-code" name="country_code" required style="width:40%;"> <option value="+255" selected>Tz (+255)</option> <option value="+254">Keny (+254)</option> <option value="+256">Uga (+256)</option> <option value="+250">Rwnd (+250)</option> <option value="+1">USA (+1)</option> <option value="+44">UK (+44)</option> </select> <input type="tel" id="contact" name="contacts" placeholder="711***675" required pattern="[0-9]{6,15}" style="width:40%;"> </div><br> <label for="images">Upload 3 Images:</label> <input type="file" id="images" name="images[]" multiple required><br> <button type="submit">Add Product</button> </form> </body> </html>
💾 Save
⬅ Back