When I issue this command to remove any commas at end of string:

    $query = rtrim($query, ",");

PHP give me an error saying "Wrong parameter count for rtrim()". How can
this be? The online manual shows rtrim can accept two parameters. Shouldn't
this work? I have PHP 4.0.6 installed on the server.


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

Reply via email to