Hello all I am new to PHP
I am using window.location for redirecting to another PHP page.. but I need to add some data to this
so that I am using
echo'<script> window.location="../post/view_full_post.php?ID=<? echo $ID ?>"</script> ';
but it not workes for me and gives me in my URL
http://bla bla/bla bla/post/view_full_post.php?ID=%3C?%20echo%20$ID%20?%3E
and says me that I am passing valid ID but it not working
Not Acceptable
An appropriate representation of the requested resource /bla bla/post/view_full_post.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
so my question is how to pass query string into Window.location?
sprintf()function for this...