<a class="topLink" href="input_image.php"><input type="submit" name="productbaru" value="Product Baru"/></a>
If I press Product Baru why they do not take me to input_image.php ?
<a class="topLink" href="input_image.php"><input type="submit" name="productbaru" value="Product Baru"/></a>
If I press Product Baru why they do not take me to input_image.php ?
Because a submit button responds to a form tag, not a link.
However, you can do this;
<a class="topLink" href="input_image.php">
<input type="button" name="productbaru" value="Product Baru"/>
</a>
Submit type is only used with form.So write button instead of submit.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.