Re: php link problem
| From: | DL Neil | Date: | Wed, 17 Oct 2001 15:34:09 +0000 |
| Subject: | Re: php link problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71341@lists.php.net to get a copy of this message | ||
> I have the following problem
>
> <td><a href=solution.php?id=$row[prob_title]>$row[prob_title]</a></td>
>
> calling my solution file that display the selected title link, the problem
> that i'm having is that when I have a title with no space example
> "clickhere" it works fine, bringing all information related the selected
> title link i.e. description and solution,
>
> but if there is any space ex. "clik here" it brings only the "clik" word
> as
> title and ignores the rest including the info related to the pro_tile field,
> like description and solution,
Caleb,
Isn't it an HTML problem? (not PHP - remember PHP is here to render/output HTML)
What happens if you put double-quotes around the URL?
Regards,
=dn