RE: [PHP] string question
| From: | Maxim Maletsky | Date: | Fri, 17 Nov 2000 01:41:23 +0000 |
| Subject: | RE: [PHP] string question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25835@lists.php.net to get a copy of this message | ||
$product = "Q" . $i ;
$product_order = $$product;
Cheers!
-----Original Message-----
From: kmurrah [mailto:kmurrah@bakergrfx.com]
Sent: Friday, November 17, 2000 4:55 AM
To: PHP General List
Subject: [PHP] string question
I hope I can make myself clear on this question ... here goes.
On the previous form, I input values for Q1, Q2, etc. Now, on
the subsequent page, I want to write a "for...next" loop to look
at each of those variables and act upon them.
I've tried :
$product = "Q" . $i ;
$product_order = "\$" . $product ;
to get a string which, I hope, contains "$Q1" or whatever....NOW how
do I get the VALUE of that string, i.e. the value entered for Q1 on
the form on the previous page?
I apologize for the elementary question, but I'm AWFULLY confused.
Thanks in advance,
Kenn
--
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