Re: variable question

From: Date: Mon, 15 Apr 2002 19:21:19 +0000
Subject: Re: variable question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-93065@lists.php.net to get a copy of this message
store $name on one line and $welcomemssg on a separate line. Then just remember that all odd numbered liens are names and even numbered lines are messages. =C= * * Cal Evans * Techno-Mage * http://www.calevans.com * ----- Original Message ----- From: "Jule Slootbeek" <jslootbeek@clarku.edu> To: <php-general@lists.php.net> Sent: Monday, April 15, 2002 1:30 PM Subject: Re: [PHP] variable question > > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#93065) next »