PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 17th, 2002, 04:42 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
hyperlinking question

so this is what I got:

<html><head><title>RUN! run like the wind...</title></head>
<body>
<BR>
enter a web address and push the button and be wowed as you are shown the content of the page in the lower frame.
<FORM method ="POST" action="main.php" TARGET="toppane">
<INPUT type="textarea" name = "addressbox">
<INPUT type="submit" name = "linky" value = "press">

<?php
if(isset($_POST['linky'])){
?>
</FORM>
<A HREF="<?php echo $_POST['addressbox'];?>" TARGET="changingpane"> Uni-link </A>
<?php }
?>

</body></html>



Okay which is fair enough and works, but I'd much rather have the the submit button be pushed and the relevant page be opened in the lower frame instead of creating a hyperlink to that for me - thus forcing an extra step. Am looking for solution but not very familiar with either language so its slow going. Help would be great.

Alan

Reply With Quote
  #2  
Old July 17th, 2002, 05:02 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: hyperlinking question

How about changing the target of where the form submits to:

<FORM method ="POST" action="go.php" TARGET="changingpane">

then go.php could be:

<?
header("Location: " . $_POST['addressbox']);
?>


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > hyperlinking question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway