This code dosn't work - why?

A

Anonymous

Guest
Hi.

I have the following code.

It dosn't work

why?

<td><font face="Arial"><a href ="<?$url?>"</a><? echo $title; ?></font></td>


Any suggestions??

Thanks in advance as always
 
Hi,

Use:

Code:
<td><font face="Arial"><a href ="<?php echo $url;?>"><?php echo $title;?></a></font></td>

Regards.
 
Code:
<td><font face="Arial"><a href ="<?= $ur; l?>"</a><?= $title; ?></font></td>
[/url]
 
Brilliant, thats working.

Now part 2.

I only want the link to be active if i am not on the page.

For exapmle, if i am on the page http://www.webpage/customerCreate.php i do not want the customerCreate link to be vaild.

Anyu suggestions? Hope this makes sense.

Thanks in advance.
 
propose use session on the page check session if user admin agree if not sorry
 
Back
Top