|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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']); ?> |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > hyperlinking question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|