Re: variable question

From: Date: Mon, 15 Apr 2002 18:30:47 +0000
Subject: Re: variable question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-93060@lists.php.net to get a copy of this message
Here's my code, teh $welcomemssg is one of the two variable store in index.php the other one is $name <?php $File = "welcome/index.php"; $Open = fopen ($File, "r"); if ($Open) { print ("$welcomemssg"); } fclose ($Open); ?> Jule On Monday 15 April 2002 13:49, you typed on your keyboard, and you sent me the following: On Tuesday 16 April 2002 00:41, Jule Slootbeek wrote: > Hey Guys and Gals, > I'm writing this little script that takes two inputs: $name and > $welcomemssg from a form and puts them in a text file. Now i only want to > extract one of those variables open it with welcome.php, how do i go > about this? when i just do fopen and fwrite it prints both variables. > any thoughts? Show us your code. -- Jule Slootbeek jslootbeek@clarku.edu http://blindtheory.cjb.net

« previous php.general (#93060) next »