Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refresh without retry

Status
Not open for further replies.

kawnz

Technical User
Jan 30, 2003
67
US
Hi... I am back again.
the flash card script works great.

However, I have also added a form where people can input certain variables. (eg numbers 20-30, whatever)

Now when they send these variables, the flash card scripts pops up, but, when it refreshes, it pops up with the ever annoying retry alert.

How can I stop it from doing that?

I want it to retain the values when it refreshes, but without the retry alert.
 
I fixed it by putting in a redirect with those numbers.

if ($form) {header("Location: flash.php?op=$op&min=$min&max=$max&r=$r");}

Probably not the best way, but it does work :)


I came up with using this after searching posts with redirect in them, rather than refresh, which is what I first looked at.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top