You are here: Include(); and go to named anchor « All PHP « IT news, forums, messages
Include(); and go to named anchor

Posted by Ralph Zajac on 09/28/67 11:16

Hi



Does anyone know how to include file and then go to named anchor on that
page?

I'm thinking about something like this:



if ( $content[$where][$pod] != '' )

{

include($content[$where][$pod]);

//here code that goes to named anchor

} else {

echo 'No page by that address ';

}



Where



$content[$where][$pod] is an array of addresses like:



$content['instalacja']['1-1'] = 'http://'. $host . '/inst/wstep.htm#mity';

$content['instalacja']['1-2'] = 'http://'. $host . '/inst/wstep.htm#poj';



Variables $where and $pod are taken from $_GET



Thank you

Ralph

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация