Re: Printing variables (newbie question)

From: Date: Tue, 22 Aug 2000 05:24:15 +0000
Subject: Re: Printing variables (newbie question)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12887@lists.php.net to get a copy of this message
Try: echo "text" . $some_var[$i]; ----- Original Message ----- From: "Brian Rue" <dwjw@quixnet.net> To: <php-general@lists.php.net> Sent: Tuesday, August 22, 2000 12.25 am Subject: [PHP] Printing variables (newbie question) > Hi, > > I'm having trouble here. > When using: > for ($i =0;$i<$some_value;$i++) { > echo "text$some_var[$i]"; > } > it only outputs the word "text". > > What am I doing wrong? > > Thanks, > Brian Rue > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#12887) next »