I have followed the tutorial in the tutorials section - MySQL Full-Text Search With PHP and have modified it to fit in with my page layout. The problem is that the search results are links to other sites and some of them need to open in a new window. In my table I have the field new_window which has two values, 0 = open in existing window, 1 = open in new window. I have tried adding an IF statement to the code to get the value of new_window and either open it in a new window or the existing one. Unfortunately I am unable to get it to work.

Could someone please have a look at my code and tell me where I am going wrong.

"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image." ~ Stephen Hawking

Thanks for your reply. That was one of the first things I tried but it still didn't work? I have no idea how to make this work.

John

"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image." ~ Stephen Hawking

It is definately the right value because I use load links on standard pages using it and it works fine.

Any ideas?

Thanks

"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image." ~ Stephen Hawking

Thanks, I knew it had to be something simple, I just couldn't find it. You are a legend

John

"I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image." ~ Stephen Hawking