Problem with link

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm creating a php web page and have a problem with linking.
I've created a table including the following string:

"<td'>$dayw</td>" .

What I'd like to do is to link $dayw to $title.
I made the following code, which is wrong:

"<td'><a href="$title">$dayw</a></td>" .

Do you know which is the exact code for this purpose please?
I'm new in Php and still have some problem with basic programming.
Many thanks for the support.


Re: Problem with link

What do you mean by linking a $var to $anothervar or, in your case,
$dayw to $title ?

On Nov 2, 10:28 am, Nick <"no address"> wrote:
Quoted text here. Click to load it

Re: Problem with link

 > "<td'><a href="$title">$dayw</a></td>" .
You mean: "<td><a href=\"\"></a></td>"

Re: Problem with link

Yes. Thank you very much.

whiskey ha scritto:
Quoted text here. Click to load it

Site Timeline