my $statement2 = sql('SELECT * FROM manggis.files WHERE state = :state'); $statement2->bind_param(':state', 'F');