Re: catch $variable with spaces, and convert them
| From: | Jason Barnett | Date: | Mon, 19 Jul 2004 05:59:13 +0000 |
| Subject: | Re: catch $variable with spaces, and convert them | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190976@lists.php.net to get a copy of this message | ||
This should work... enjoy!
## code, using PEAR DB ## while ($q->fetchInto($row)) { print (" <tr> <td width=90 align=center>" .$row[0]. "</td> <td><a href=FILES/" .$row[1]. ">" .$row[1]. "</a></td><td><a href=FILES/" .rawurlencode($row[1]). ">" .$row[1]. "</a></td>
<td>" .$row[2]. "</td> </tr> "); }; ## end of code ##