Another Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux