I’m creating a sample website using xhtml with javascript support. Also using php for server side programming. I need to redirect the webpage to some other page from an html page, after checking some condition.What is the best method to implement this. I’ve done it using
header(“link”); but since i’m using it inside the tag, it shows up a error. is it possible to redirect to a particular link from within the tag.
I’m creating a sample website using xhtml with javascript support. Also using php for
Share
The best way would be using PHP. Javascript solutions only work when… well, when javascript is enabled.
Note that this only works, when there was absolutely no output so far.