Is there anyway to make the server send the user to a certain page if a condition is true?
I'm displaying a table of results, and if there are no results, I want to redirect the user to a new page instead of the results page.
Printable View
Is there anyway to make the server send the user to a certain page if a condition is true?
I'm displaying a table of results, and if there are no results, I want to redirect the user to a new page instead of the results page.
But only if no output has been sent to the browser.
yeah.... sorry, I should have posted again, I found that shortly after making the post.
Good! But I hope you don't mind me quoting your own signature:
;)Quote:
If your problem is solved, please ReEdit your original post and add SOLVED or RESOLVED in the topic.
oops. Thanks :)