[Solved] Warning: Wrong parameter count for mysqli_stmt::bind_param() [closed]


The error says ” Wrong parameter count “

so you passing the wrong number of parameters.

http://php.net/manual/en/mysqli-stmt.bind-param.php

show you need at least 2

try this

if(!($stmt->bind_param('s',$_POST['addArtistTextField'])))

Your instructs ssii means option 1 and 2 are strings 3 and 4 are ints

2

solved Warning: Wrong parameter count for mysqli_stmt::bind_param() [closed]