Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 09-04-2007, 07:29 PM
Junior Member
 
Join Date: 09-04-07
Posts: 5
iTrader: 0 / 0%
Help with PHP

I have my site and I am trying to make it so that when I click a link it will show up where the updates page is.

http://www.marcy-rylan.net/index.php

take clicking the link Marcy for instance, but instead of just showing up where the updates are it opens in a while new page.


help??
 
Reply With Quote
  #2 (permalink)  
Old 09-04-2007, 09:25 PM
Member
 
Join Date: 09-01-07
Location: Gurgaon, India
Posts: 84
iTrader: 0 / 0%
If you want the page to open in the same window,
you should remove the target attribute from the link, e.g.

change

<a href="marcy.php" target="index">MARCY</a>

to

<a href="marcy.php" >MARCY</a>
 
Reply With Quote
  #3 (permalink)  
Old 09-05-2007, 05:12 AM
Junior Member
 
Join Date: 09-04-07
Posts: 5
iTrader: 0 / 0%
I've tried that and it doesn't seem to work when I do that either
 
Reply With Quote
  #4 (permalink)  
Old 09-05-2007, 05:17 AM
Junior Member
 
Join Date: 09-04-07
Posts: 5
iTrader: 0 / 0%
I did it the way you said, take a look and see if there are any other suggestions?? thanks a lot for your help!
 
Reply With Quote
  #5 (permalink)  
Old 09-05-2007, 06:13 AM
Member
 
Join Date: 09-01-07
Location: Gurgaon, India
Posts: 84
iTrader: 0 / 0%
Can you explain your problem a little more?

What is the updates page?

BTW, the picture at the top of your page is very heavy, nearly 0.5 MB. You may consider reducing its size.
 
Reply With Quote
  #6 (permalink)  
Old 09-05-2007, 07:16 AM
garysims's Avatar
Contributing Member
Latest Blog:
Know The Difference

 
Join Date: 08-31-07
Posts: 84
iTrader: 1 / 100%
I've been following this thread also and I agree with kaykays could we have some more information.

When I click on the MARCY links I get a page with a menu on the left:

Biography
Resume
Quick
Quotes
Interviews
Marcy's Style
Name Meaning

And Nothing else... But the link works as the marcy.php is being run. Is the problem the link or the marcy.php file?

Thanks,

Gary
__________________
Gary Sims - Writer and Technology Consultant
Press Release Writing Service
Tech Blog
 
Reply With Quote
  #7 (permalink)  
Old 09-05-2007, 08:58 AM
Junior Member
 
Join Date: 09-04-07
Posts: 5
iTrader: 0 / 0%
No, the problem is basically when you click on any of the links, other than the gallery, they all work but i want them to show up where my cutenews is. not into another new page that has on the the links.

if you go to http://www.marcy-rylan.net/index.html and click on one you'll see what i mean. but with that i had to insert the header and thing on each page. i wanted to get where i don't have to.

like if you go to k-cavalliari.com, her pages load where her updates are. do you get what i mean? lol i'm not good at explaining this stuff
 
Reply With Quote
  #8 (permalink)  
Old 09-05-2007, 12:36 PM
garysims's Avatar
Contributing Member
Latest Blog:
Know The Difference

 
Join Date: 08-31-07
Posts: 84
iTrader: 1 / 100%
OK, I think I understand... The simplest way to do this is to have the left column in a separate php file called some thing like left.php, I would suggest you have the header in another file header.php.

Then each page is formatted by including header.php and then left.php and then finally the content.

[code]
<?
include("header.php");
include("left.php");

/* Content goes here */

include("footer.php");
?>

This way the left will always look the same and if you change the left.php it will change in all the pages.

Does that help?

Gary
__________________
Gary Sims - Writer and Technology Consultant
Press Release Writing Service
Tech Blog
 
Reply With Quote
  #9 (permalink)  
Old 09-05-2007, 01:38 PM
Junior Member
 
Join Date: 09-04-07
Posts: 5
iTrader: 0 / 0%
i have no idea how to do that lol but i believe i can figure out! thanks a bunch!
 
Reply With Quote
  #10 (permalink)  
Old 09-05-2007, 02:06 PM
garysims's Avatar
Contributing Member
Latest Blog:
Know The Difference

 
Join Date: 08-31-07
Posts: 84
iTrader: 1 / 100%
Would you like me to email you a simple example... If so please send me a PM with your email address and I will put together a simple page based on some of the stuff from your site.

Thanks,

Gary
__________________
Gary Sims - Writer and Technology Consultant
Press Release Writing Service
Tech Blog
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Pingbacks are Off
Refbacks are Off



V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:18 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.