User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 402,826 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,031 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

How do I pass a link (webpage) through url?

Join Date: Feb 2008
Location: Ottawa, Ontario
Posts: 15
Reputation: mom_of_3 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
mom_of_3's Avatar
mom_of_3 mom_of_3 is offline Offline
Newbie Poster

Re: How do I pass a link (webpage) through url?

  #7  
May 1st, 2008
maybe..

<a href="mypage.php?id=2442" target="_self">Click</a>
on the page

  1. $page = $_GET['id'];
  2.  
  3. if($page = 2442) {
  4. include('news5.html');
  5. }
Last edited by peter_budo : May 1st, 2008 at 12:17 pm. Reason: Keep It Organized - please use [code] tags
Reply With Quote  
All times are GMT -4. The time now is 11:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC