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
You could dynamically generate variable names using: ${view_request_}.$i} = $value; This will generate: $view_request_1 $view_request_2 ... Vishal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 06, 2004 1:14 PM To: [EMAIL PROTECTED] Subject:

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,

RE: [PHP] combining variables

2001-09-12 Thread Jack Dempsey
i might be misunderstanding you, but anytime you need dynamic variable names, you'll want variable variables... $count = '123'; $name = count$count; # results in $name being 'count123' $$name = 'something'; # results in $count123 = 'something' jack -Original Message- From: Tyler