Forum Moderators: coopster

Message Too Old, No Replies

function help

how to get this

         

docny

11:04 pm on May 8, 2004 (gmt 0)

10+ Year Member



I have a php program which gets data from three coountry sources depending upon user default country slection... The php file extracts data from three different country xml sources...the data is displayed according to template files which are html template files...

The template files which relies on variables..I can play with that as that is html......but I don't know how to inject a custom variable....Now if I want to add custom url to the template files how I do that so that
(<a href="variable URL">custom link</a>)

How can i put this custom link
if country = x then url is Y
if country = a then url is b ( I do not have knowledge of php)

do i have to creat another php file or add code to a php file... I hope I am making some sense

bumpaw

2:41 am on May 9, 2004 (gmt 0)

10+ Year Member



Welcome docny to Webmaster World. Take a look at the introductory tutorial at [php.net...] It is real basic and will give you an insight I believe.