Jump to content

[SOLVED] Need help with Array


rlb1

Recommended Posts

Please provide some assistance with this array.  Thanks for your help!!

 

 

//  Please note:  $row['URL_Product']} = http://www.zzounds.com/item--BEHBXL3000    --  I am trying to hide the link with:

 

 

 

<?php

$path = array(
'getrecord' => "{$row['URL_Product']}",

);

if (array_key_exists($_GET['id'],$path))
    header('Location:'.$path[$_GET['id']]);





Print "<TABLE>";
Print "<TBODY>";
Print "<TD width=100 align=right>";
Print "<A href=http:www.domain.com/loc=getrecord>Browse Store</A>";
Print "</TD>";
Print "</TR>";
Print "</FORM>";
Print "</TBODY>";
Print "</TABLE>";



?>

Link to comment
https://forums.phpfreaks.com/topic/76159-solved-need-help-with-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.