Jump to content
Sign in to follow this  
laukis

Åpne ny url

Recommended Posts

Jeg har laget en spørreundersøkelse i php som vises i en iframe.

<a href="http://localhost/dbtut/survey/survey.php" class="links" target = "mainframe"> Survey </a> <br>

 

når spørreundersøkelsen er fyllt ut skal en ny url åpnes i nettleseren;

//survey.php
<?php
.
.
.
header("Location: http://localhost/dbtut/stage/casepage.php"); 

?>

 

Problemet er at den nye url'en blir åpnet i ifram'en.

Noen tips om hva jeg kan gjøre for å unngå dette?

 

pft

Share this post


Link to post

Godt poeng ;)

 

Jeg skal vel egentlig ikke skryte på meg at jeg løste det, men fant ut at det var mer hensiktsmessig å laste inn en tilbakemelding i iframen ( takk for at du svarte på.......), for at det deretter kan navigeres videre fra "hovedmenyen". Jeg slapp dermed unna problemet.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...