Thought it was impossible. <br /> <br />How Webmagazine works: <br />The site has just ONE page <br />and divided in three parts: <br />index heading and footer <br /> <br />So only the contentpart changes. <br />The contentpart is filled by the database. <br /> <br />So the test_headings.php wil only replace the content, and not be able to get the header, menu and the rest. <br /> <br />There has to be a jump to the index.php <br />It is not possible to use a base target. <br />A javascript with confirm did not work. <br />We need the id and a jump. <br /> <br />So we need a new function to do the job. <br />I took two functions and just renamed them. <br />It worked. <br />Now the jump. <br />In the code is PHP_SELF, this is replaced bij index.php <br />(if you use it in another site you need the full URL) <br /> <br />It woks :jafo :jafo <br /> <br />See it in action: <br />php file
http://members.lycos.nl/vazed/webmagazine/test_headlines2.php <br />get this file: <br />txt file
http://members.lycos.nl/vazed/webmagazine/test_headlines2.txt <br />rename it to php <br /> <br />gts <br />Peter V <br /> <br /> :car