A couple of ideas... the '' and "" string encapsulators do behave 
slightly differently in PHP, so you might want to try double quotes. 
Second, are you sure $i is being set? Third, you may need to do this:

$key = 'budget_w{$i}';
$value = $_POST['$key'];

be sure to echo the value for $key to make sure $i is what you think it 
should be.

-- 

Brian 'Bex' Huff
[EMAIL PROTECTED]
Phone: 952-903-2023
Fax: 952-829-5424

> Hullo,
> 
> After upgrading from 4.2.2 to 4.2.3, I met an annoying problem:
> 
> I POST a form with fields budget_w1, budget_w2, ...
> 
> $_POST['budget_w{$i}'] used to work, but does not anymore with 4.2.3:
> Notice: Use of undefined constant budget_w - assumed 'budget_w' in
> c:\apache\...
> 
> Anybody can give me a hint?
> 
> Merci!
> 
> Ignatius




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to