triming a query

From: Date: Sun, 14 May 2006 17:13:13 +0000
Subject: triming a query
Groups: php.general 
Request: Send a blank email to php-general+get-236151@lists.php.net to get a copy of this message
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); Ross

« previous php.general (#236151) next »