At 13:46 12-2-03, you wrote:
The code I am trying to get working is shown below however, as the # is
interpreted as a comment the header function is only redirecting to

./itemadmin.php3?submittedby=$submittedby&cat=$cat

$head = "./itemadmin.php3?submittedby=$submittedby&cat=$cat#$edit";
header ("Location:$head");
I think the problem may be that the #zzz should be before the ?x=1&y=2
If i am right it means that # was not considered a comment by PHP but that the browser cannot find it.Does the url in the browser show with the #edit part?

In that case try

$head = "./itemadmin.php3#$edit?submittedby=$submittedby&cat=$cat";

or maybe

$head = './itemadmin.php3#'.$edit.'?submittedby='.$submittedby.'&cat='.$cat;

PS ./ ?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to