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,957 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 2,918 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: Apr 2008
Posts: 7
Reputation: didi00 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
didi00 didi00 is offline Offline
Newbie Poster

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

  #4  
Apr 30th, 2008
Yes I want to display the content of news5.html page within the table I have created on another page...

I tried this so far...but it doesnt work

  1. <?php
  2. echo "<a href='1.php?ID=2442'>";
  3. echo "click";
  4. ?>


and in the other file:

  1. <?php
  2. if $_GET['ID'] == 2442 echo file_get_contents("news5.html");
  3. ?>


any suggestion?
Last edited by peter_budo : May 1st, 2008 at 12:16 pm. Reason: Keep It Organized - please use [code] tags
Reply With Quote  
All times are GMT -4. The time now is 6:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC