I told PHP to trim the word "Tabs" out of a variable using this code: trim($name, "Tabs") PHP: $name is always a multiple word string with the word "Tabs" at the end. But now, whenever the output starts with a capital T, the T gets trimmed as well as the word "Tabs". Any idea why?
trim is used to get rid of whitespace Just look... ca3.php.net/trim if you want to get rid of the word tab from a string, such as "3232323effef tab ffsdfsdfsfs" than use $bodytag = str_replace("tab", "replacementoftabhere", "dcadscadcctab22cdsc");