I have a SQL query that I want to qualify the output of:
build the arrays for looping through sub links
$catArray[] = $row[‘fld_main_link_id’];
$text[] = $row[‘fld_text’];
$ssL[] = $row[‘fld_ss’];
$link[] = ‘index.php?id=’.$row[‘fld_main_link_id’].’&ss=’.$row[‘fld_ss’].’&’.$row[‘fld_link’];//$row[‘fld_link’]
I want to re-write the URL based on the $catArray
for example, if catArray[] = 5 redirect to http://somesite.com
Is this possible? And if so, help?
Thanks!