I run a small, specialist classical music listings web site and have the venue name, address, telephone number etc. (with html mark up) in a heredoc, stored in an external php file. All I do is write:
The Mango String Quartet is performing at
<?php echo $local_arts_centre; ?>
and the venue details are printed neatly laid out.
I have written a search facility which searches the text but does not search the variables, the phrase "mango string quartet" would be found, but not "local arts centre".
I have searched the web and PHP books but can not find the solution. Any ideas would really be appreciated.