Posted by Jerry Stuckle on 03/01/06 04:24
Krustov wrote:
> In this case its the length of it .
>
> $qaz="Drugs Are Good";
>
> $wsx="$qaz" . "&name=checked&from=checked&heard=checked&main=checked";
>
> print "<td><a href=ganja.php?string=$qaz class=abc>$qaz</a></td>";
>
> The following is what appears on the hyperlink mouse over .
>
> ganja.php?string=Drugs
>
> Perhaps not so much of what i'm doing wrong - more of a what do I need
> to do in order to get it working .
Not a PHP problem - but an HTML one. Your href string needs to be
enclosed in double quotes. True of any string - but most browsers will
understand the string if it doesn't include spaces.
print "<td><a href=\"ganja.php?string=$qaz\" class=abc>$qaz</a></td>";
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|