Ross wrote:
Not so good with the string functions but I want to remove the last 15 characters from a query. Thought this would work.

echo "the query is".rtrim($query, 15);

echo "the query is".substr($query,0,-15);

-Rasmus

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

Reply via email to