In this post, we will see how to resolve I have two queries one works one doesn’t using php and mysql?
Question:I am creating a movie database and I have a query that finds movies by their ID and it is working.
I also tried a function to see if title is being passed by $_POST and it shows it is.
Best Answer:Passing a value such as
LIKEoperator does not do what you expect.
'%', the wildcard character :
If you have better answer, please add a comment about this, thank you!