str_replace an include

From: Date: Tue, 21 Jan 2003 15:05:25 +0000
Subject: str_replace an include
Groups: php.general 
Request: Send a blank email to php-general+get-132415@lists.php.net to get a copy of this message
Hello all, I'm trying to replace a tag with an include in a template scenario. For example: str_replace("<!--linkTag--!>", include "links.php", $string); This obviously doesn't work, but I'm wondering if anybody knows of a good way to do this. Thanks a bunch, Jesse Lawrence

« previous php.general (#132415) next »