what should i do if i want to go to some specific pages?
e.g
if($i>1) go to d.html; else go to p.html;
i don't know the syntax. Can any one help me? thx....
Use meta's that e.g.
if (true) { printf('<META HTTP-EQUIV=Refresh CONTENT="1; URL=d.html>"'); } else{ printf('<META HTTP-EQUIV=Refresh CONTENT="1; URL=p.html>">'); }
this will redirect you, the content="1; means the browser will wait 1 second before loading the URL.