Hi,
The below is my code:
$sql = 'insert into my_table (name, amount) values (?, ?)'
$params = array( 0 => "Messi", 1 => 100)
$db->query($sql, $params);
Then I check database and see that a new row inserted but with default values instead of my values.
Could you please correct me?
Thanks.