Questions tagged as 'prepared-statements'

0
answers

Delete a column if you do not add another column in php with prepared statements

I have a question, I hope you can solve it for me. First of all, I have to clarify, that the code I did works correctly, but not at all. I explain first what I want to do. I am practicing with PHP and MYSQLI, and I am creating a system of use...
asked by 19.12.2017 / 01:11
1
answer

Wrong number of parameters

I am using prepares statements to improve a query I am making, but it generates the error:    Wrong number of parameters The code is as follows: $start = new DateTime('first monday of January 2016'); $end = new DateTime('last day of D...
asked by 08.02.2017 / 03:17