silverd
06-08-2011, 02:52 PM
Little stumped.
I want to display all posts that contain an [IMG] tag and are not in a deleted thread.
Something like:
SELECT * FROM post WHERE pagetext='[img]' WHERE thread.threadid=post.threadid AND thread.visible=1
--------------- Added 1307553941 at 1307553941 ---------------
still trying
SELECT * FROM post WHERE pagetext LIKE '%[img]%' WHERE post.threadid=thread.threadid AND thread.visible = 1
I want to display all posts that contain an [IMG] tag and are not in a deleted thread.
Something like:
SELECT * FROM post WHERE pagetext='[img]' WHERE thread.threadid=post.threadid AND thread.visible=1
--------------- Added 1307553941 at 1307553941 ---------------
still trying
SELECT * FROM post WHERE pagetext LIKE '%[img]%' WHERE post.threadid=thread.threadid AND thread.visible = 1