[PHP] combining variables...

2004-04-06 Thread Tristan . Pretty
Simply put, can I connect 2 variables, to make one... I want to output: $view_request_$i making for example a string: view_all_2 But I'm getting errors..? Parse error: parse error in /home/risk/public_html/download/results3.php on line 675 is there a simple explination...?

Re: [PHP] combining variables...

2004-04-06 Thread Richard Davey
Hello Tristan, Tuesday, April 6, 2004, 6:14:19 PM, you wrote: TPrsc Simply put, can I connect 2 variables, to make one... TPrsc I want to output: TPrsc $view_request_$i TPrsc making for example a string: TPrsc view_all_2 I believe it's $view_request_$$i -- Best regards, Richard Davey

Re: [PHP] combining variables...

2004-04-06 Thread Tristan . Pretty
; } } = Richard Davey [EMAIL PROTECTED] 06/04/2004 18:27 Please respond to Richard Davey [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [PHP] combining variables... Hello Tristan, Tuesday, April 6, 2004, 6:14:19 PM, you wrote: TPrsc Simply put, can I connect 2 variables, to make one

Re: [PHP] combining variables...

2004-04-06 Thread Christian Jerono
:27 Please respond to Richard Davey [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [PHP] combining variables... Hello Tristan, Tuesday, April 6, 2004, 6:14:19 PM, you wrote: TPrsc Simply put, can I connect 2 variables, to make one... TPrsc I want to output: TPrsc

Re: [PHP] combining variables...

2004-04-06 Thread John W. Holmes
From: [EMAIL PROTECTED] I want to output: $view_request_$i echo ${'view_request_'.$i}; echo ${view_request_$i}; Read the manual section on Variable Variables, please. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] combining variables...

2004-04-06 Thread Curt Zirzow
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]): Sadly, it didnb't work... here's my code... I wanna repeat and output final variables 6 times... == for ($i = 1; $i = 6; $i++) { if ($view_request_bu_$i != '') {

RE: [PHP] combining variables...

2004-04-06 Thread Vishal Patel
: [PHP] combining variables... Simply put, can I connect 2 variables, to make one... I want to output: $view_request_$i making for example a string: view_all_2 But I'm getting errors..? Parse error: parse error in /home/risk/public_html/download/results3.php on line 675 is there a simple

[PHP] Combining Variables

2002-04-24 Thread Jason Soza
Okay, I think this is an easy thing but I can't figure it out: I have a script that will be uploading (up to) 4 files: $file1 $file2 $file3 $file4 Each $file variable has associated $original_name, $filesize, and $filename variables. Each file: $original_name =

RE: [PHP] Combining Variables

2002-04-24 Thread Jason Soza
Well that was embarrassing. I guess [CTRL]+[ENTER] sends mail in Outlook! Let's try that again: Okay, I think this is an easy thing but I can't figure it out: I have a script that will be uploading (up to) 4 files: $file1 $file2 $file3 $file4 Each $file variable has associated $original_name,

[PHP] combining variables

2001-09-12 Thread Tyler Longren
Hello, I have this: for ($i=1; $i=$num_answers; $i++) { print bAnswer $i:/b input type=text name='answer$i'br; } The user will enter the possible answers up there. When that form is submitted, I want to take the value from answer$i ($answer$i). I can't do this though.

RE: [PHP] combining variables

2001-09-12 Thread Jack Dempsey
Longren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 12, 2001 4:52 PM To: PHP-General Subject: [PHP] combining variables Hello, I have this: for ($i=1; $i=$num_answers; $i++) { print bAnswer $i:/b input type=text name='answer$i'br; } The user will enter the possible