Another Question
| From: | zxx10 at cwru dot edu | Date: | Tue, 07 Oct 2003 05:49:28 +0000 |
| Subject: | Another Question | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-30891@lists.php.net to get a copy of this message | ||
Hi, All:
I have some information stored in the database.
When I try to show them, sometimes it give me the
following warning:
Warning: printf(): Too few arguments ...
Here is the problematic code:
printf("<textarea COLS=56 ROWS=7 name=\"description\">$des</textarea>
<br>");
I figured out that if there are "%" in the
string $des, it will give me this warning. But
I want to show "%" in the textarea. How can
I do that? Further, how to do the input filtering?
Are there any modules that I can use?
Thanks in advance for any help.
Zhan Xu
EECS Department
Case Western Reserver University
Email: zxx10@cwru.edu