Jump to content

I need help adding a Link within a php file.. heres what I have.........


skipper

Recommended Posts

the part in red is what I'm trying to convert into a link, on my site is shows up as is:

http://*****.com/areas/MYCITY.html

 

But I'm trying to make it click able so I need to add some code to that red line.. could someone help please?

 

thanks

Maybe this is what you want, your code makes little sense.

 

if (!$s['area_title']) {
  $s['area_title'] = $m['all_areas'];
  $vl['category_info'] = "<a href='{$s['site_url']}/areas/{$s['area_title']}.html'>{$s['category_title']}</a>";
}

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.