I created code for select query for MySQL in PHP.
The code:
$vericek4 = $baglanti2 -> prepare ("select no from urunlist where urunad like '%?%'");
$vericek4 -> bindParam(1, $aramayss);
$vericek4 -> execute();
$satirsay2 = $vericek4 -> rowCount();
I have data in $aramayss
. But $satirsay2
is null.