My problem is that whatever symbol I write in sell_form.php
even if it doesn't exist in portfolio table, the query retursn true. Here's the query in sell.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>