how to use include() with anchor?
i wish to jump to a specific part of the file ..... eny ideea pls..
thx
include anchor
Moderator: General Moderators
- trukfixer
- Forum Contributor
- Posts: 174
- Joined: Fri May 21, 2004 3:14 pm
- Location: Miami, Florida, USA
sounds like he wants to use the <a anchor='name'> and <a href='#anchor_name'> tags in html these arent part of php, nor used in include()
I suggest reading about it at http://www.w3c.org
That is what I suspected, but thought that maybe milleusi wanted to redirect to an anchor, or at first that he/she wanted to include a PHP file but only execute a segment of it.
And I was trying to drop the hint that the more help you give us to understand the problem, the more help we can give to solve it, but posting short, sharp and sweet answer :p
And I was trying to drop the hint that the more help you give us to understand the problem, the more help we can give to solve it, but posting short, sharp and sweet answer :p
i have the following code:
index.php
detect.php
thx
index.php
Code: Select all
<?php
....
$show = $_REQUEST['cathegory'];
include('detect.php');
...
?>Code: Select all
<?
switch($cathegory){
case 'news':
//link to the specific information
include('all_news.php#5'); // i get an error at this kind of line,
break;
....
}
?>