Hi,
I have made a new plugin, works great, but I have one little problem with it.
Here is the php code/query/function and how the table looks:
http://www.sourceskins.com/problem.jpg
What does it do?
Well it checks if the page id == location. If so, give a id named current. This works. The problem is the first line (see the db table in the jpg). Look at location. I have entered 2 values in location: front-page || topic-page
I have used || in it the split them.
The idea was: if bb_get_location == front-page OR topic-page give the id. So it had to look if it matches a record from that row.
Problem is, it aint working cause it will spit out: front-page || topic-page and the code isn't able to look for a match.
How can I solve this? Any ideas?