myMy problem is that whatever symbol i I write in sell_form.phpsell_form.php
even if it doesn't exist in portfolio table., the query returnretursn true.here's Here's the query in sell.phpsell.php
and that's sell_form.php
<form action = "sell.php" method = "post" >
<input class="form-control" type = "text" name = "symbol"/>
<input class="btn btn-default" type = "submit" placeholder = "sell"/>
</form>
<form action = "sell.php" method = "post" >
<input class="form-control" type = "text" name = "symbol"/>
<input class="btn btn-default" type = "submit" placeholder = "sell"/>
</form>