[FONT=Arial]Hi, I am making an administration for our dogschool with PHP and MySQL
Now I'm trying to make a page for the lessons per hour, day and kind.
That all works okay, exept for the hour-thing
If I put down '%9%' by SELECT , it works fine, but when I put down '%10%' it doesn't work. I think MySQL has a problem with the 0 and the 1.
The field Lesson is one textfield where Kind, Hour, Place, Day and Instructor are all typed behind eachother, like this:
A 10.00 hr Tilburg Saturday Tom
This is what I have 'till now, and it works great if the last 10 is a 9, but if there's a 0 or a 1 in the syntax, it starts coughing :bemused:
SELECT Lesson,ID
FROM Members
WHERE Lesson LIKE '%Tilb%' AND Lesson LIKE '%Satur%' AND Lesson LIKE '%10%'
GROUP BY Lesson
Who knows how I can solve this?
Greetings from Heleen (from Holland)[/FONT]