note 59757 rejected from function.include by dmytton

From: Date: Thu, 15 Dec 2005 07:34:25 +0000
Subject: note 59757 rejected from function.include by dmytton
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100174@lists.php.net to get a copy of this message
Note Submitter: iepuraspufos at gmail dot com ---- I have this code in php that is bugging me..: <?php $target = $_Get['$target']; if ($target=="") { $target="1.txt"; } ?> <a href = "2.php?target=1.txt">text 1</a><br> <a href="2.php?target=2.txt">text 2</a><br> <?php include $target; ?> I'm trying to make the files apear in the same content.. the thing is that it just actions only on 1.txt... Can anyone help me pls!?

« previous php.notes (#100174) next »