i make a simpl html page with a header.a foter and a iframe tag....its working wel,i can browse this external( which is in iframe tag) site from my site....but i want to show a msg by detecting exernql website's texti need a script which wil search "welcome shojol".....in iframe how to do that??? help me guyz.....
You don't. An iframe is a client controlled markup tag which allows you to import a document from an alternate location.
If you want to search something using PHP, you'll need to read the contents of the source, and search from there. You can read the content using file_get_contents if you have allow_url_fopen directive enabled, or you can use curl or sockets to load an external page.
__________________
As of PHP 5.5, the MySQL library has been officially deprecated. It is recommended to move to either MySQLi or PDO libraries for your mysql connectivity. See here for help choosing which interface you prefer: http://php.net/manual/en/mysqlinfo.api.choosing.php