Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- String problem
March 1, 2006, 2:08 am
rate this thread
$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 .
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 .
Re: String problem
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
JDS Computer Training Corp.