By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,441 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,441 IT Pros & Developers. It's quick & easy.

inserting a link

P: n/a
Hi all,

I am having a problem inserting a hyperlink to a document into a php
function.

I have tried quite a few ways but can't seem to do it.

Has anybody got any pointers that may help me?

Thanks in advance.

-Mike
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

Mr Nobody wrote:
Hi all,

I am having a problem inserting a hyperlink to a document into a php
function.

I have tried quite a few ways but can't seem to do it.

Has anybody got any pointers that may help me?


What have you tried? How did it fail? We're not mind readers here. Post
some code, then we can try to help you.

Ken

Jul 17 '05 #2

P: n/a
Mr Nobody schrieb:
I am having a problem inserting a hyperlink to a document into a php
function.


??? It's not clear what you want to do.

Do you want to output a link?
echo "<a href='http://www.example.com/docum.ent'>Link</a>";

Or do you want to redirect to an other page?
header('Location: http://www.example.com/docum.ent');
exit;

Regards,
Matthias
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.