Click to See Complete Forum and Search --> : redirection question


pelegk1
12-03-2003, 06:47 AM
i am not sure its redirection but
what i want is when a "TAB" pressed
i want to call the same page with :
<a href='?cont=4hr-done'>press 1 </a>

but when i do so i am on the same page but it looks like this :
http://localhost/colors/?cont=4hr-done

what to do?

Gollum
12-03-2003, 06:55 AM
I'm guessing you have some php or asp or somesuch server side script to process your querystring.

When you say <a href='?cont=4hr-done'>, you the browser understands "go to the same domain and sub-dir but put '?cont=4hr-done' there instead of the page name."

So you need to add the name of your script to the href...
<a href='myScript.asp?cont=4hr-done'>

pelegk1
12-03-2003, 07:05 AM
that by default load on every sub folder
index.php but sontshow it!