String problem

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

Threaded View
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 .


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

Krustov wrote:
Quoted text here. Click to load it

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.

Re: String problem

<Tue, 28 Feb 2006 21:24:05 -0500>

Quoted text here. Click to load it

That done the trick - thanks dude .

Yeah the single words where fine .

Re: String problem

Quoted text here. Click to load it

You may want to do a urlencode too, as sometimes spaces can cause  
hiccups on holder browsers ( ).

Carl Vondrick
usenet [at] carlsoft [dot] net

Site Timeline