echo rtrim($feat,", ");

On my local Apache-OSX web server (PHP 4.1.2), this command works fine.
(The reason I use it is that sometimes $feat contains a comma and a 
space at the end of the string, which I want to remove (if it's there) 
before echoing.)

When this same script is run on my ISP (PHP 4.0.6), I get the following 
error message:

<b>Warning</b>:  Wrong parameter count for rtrim() in 
<b>/u/htdocs/smarts/jupiter/callisto/include/</b> on line 

Any ideas why?



René Fournier,

Toll-free +1.888.886.2754
Tel +1.403.291.3601
Fax +1.403.250.5228

SmartSlitters International
#33, 1339 - 40th Ave NE
Calgary AB  T2E 8N6

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to