If you are using a function as an easy way to add links to your page, i'd recommend that you define a function that echoes <a hfref=your function parameter> in that manner.
/Mattias "Morten Nielsen" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I got a table where I have some images and links (IMG & A). They all have an > ID name. Is it possible to access them from a function through a variable? > If my link looks like: > > <A ID="link1" href="#"></A> > > then in my function I would like something like: > > func1( ) { > $link=link1; > $link.href="www.x.com"; > } > > Is this somehow possible? > > Regards, > Morten > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php