Hello,

I'm new at php. I have this simple problem I can't figure out.

So I have the variable $name and I want the name to appear on a page plus be linkable.

But the link has use the variable.. like this:

http://www.website.com/$name

And also I only want $name to appear on the page, not the link.. so it would be Joe , but would would link to http://www.website.com/Joe.

Thanks!

Yeah that's exactly what I wanted, sorry if I confused you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.