Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 101
9 members and 92 guests
chrti7istianbas, datxiingbags2ir, howhnw9toplanxo, nadimdagostinop, ralfthorburnkh, rivdsercruise, valoriejudson2s, watpperpr, yossaphatdobai3
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
HTML embedded in PHP... Can I link to an html anchor?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 9
Join Date: May 2005
HTML embedded in PHP... Can I link to an html anchor? - 06-02-2005, 01:42 PM

On my site I create 2 files for each new page I create, a php file and an html file.
I put all of the content in the html file and embed that file's url in the php file. (basically make it so the actual link is to the php file, so it includes the html page in the middle of the site while keeping the blocks around it intact)

I am trying to link some text on my articles on the home page to an anchor that is in the html code of another page. (So, the clickable link has to be associated with "games.php", but I want it to find the anchor on "games.html" which is called by the php page.)

Is there a way to do this?

Here is the code for the php file:
Code:
<?PHP 
$index = 1;
if (!IsSet($mainfile)) { include ('mainfile.php'); } 
include("header.php"); 
OpenTable(); 
include ("games.htm"); 
CloseTable(); 
include("footer.php"); 
?>
As you can see, when someone clicks on "games.php", the code includes "games.htm"...
But since my links don't go directly to "games.htm", I can't get it to go to the anchored spot on the html...
(I tried "/games.php#darkfuture" and "/games.php#/games.htm#darkfuture")
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert .php to .HTML, Help please! web_design Nuke 7.x - General 3 02-12-2006 04:39 AM
Want to add an html page with a link in main menu Clarion Open topics 2 03-17-2005 05:15 PM
HTML to PHP iphoenix Open topics 2 06-10-2003 10:25 PM
allow html Suezy Open topics 7 04-23-2003 02:31 AM
No HTML in Sig. Jessie00721 Open topics 8 04-07-2003 09:33 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31