I'm trying to create a basic input form to record new clients to a MariaDB table but my post results are coming back null.
The form for entry is set as below
<form class="clientreg" id="NewClient" method="post" action="posttest.php">
<label>Client Name:
<input type="text" name="ClientName" class="LongText"/>
</label>
<label>Bulk Discount: <input type="number" name="Bulk" class="discount"/></label>
<label>Settlement Discount: <input type="number" name="settlement" class="discount"/></label>
<label>Trades Discount: <input type="number" name="Trades" class="discount"/></label>
<input type="submit"/>
</form>
print_r($_POST)
returns Array()
so the information is not being picked up on submission. I've checked the obvious issues that come up ie no name=' attributes
and correct encasing, but I'm at a complete loss