Hi All

In my previous thread (https://groups.google.com/group/tiddlywiki/
browse_thread/thread/6b99da511b02ca7c?hl=pt) I mentioned what I am
trying to achieve by passing information between TW (actually various
TWs) and a MySQL database on my server.

When my "GET form" creates a tiddler, I often use various
tags....which TW understands perfectly. And the database has a column
for "tags"....which it stores as text (VARCHAR).

Now, when I go to search for a specific tag in the database......how
does php find a tag that is actually part of a column in MySQL

For example the database has a table that has columns such as - title,
text, createdBy, created,tags..... for one entry "tags" could contain
"tag1 tag2 tag3".

The php code   - $result= mysql_query("SELECT * FROM ref WHERE
tags='$etiqueta'"); - identifies where "tags" contains the same as
$etiqueta........  If $etiqueta="tag2" then this search wont find the
above example...... can I use a function like strstr() to do this.....
I have read about it, but cant see how to use it?

Thanks in Advance
Skye

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to tiddlywiki@googlegroups.com.
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to