Results 1 to 4 of 4
02-20-2003, 03:06 AM #1
need syntax for redirect to target
One field called cat_url, one field called cat_target
if target is empty, no target added to redirect, but if it has a value, I want to add this to the redirect ...
all the searches I did through your forum discuss only simple redirect. is this possible?
header("Location: ".$row["cat_file"]." target = ".$row["cat_target"]."");
$cat_file === http://www.citysource.us
$cat_target === _blank
2nd one works, first one returns this:
obviously, I'm putting the target INSIDE the link ... but how to do it right?
help much appreciated.
02-20-2003, 03:16 AM #2
Might be worth using your normal header command if there is no cat_target , but if there is a cat_target then echoing out some JS popup-code.
02-20-2003, 03:20 AM #3
I'm decent in php, clueless in java
do you know this code or should I repost in the java section?
02-20-2003, 03:26 AM #4