From:             [EMAIL PROTECTED]
Operating system: Windows 98
PHP version:      4.0.4pl1
PHP Bug Type:     Strings related
Bug description:  Warning: Undefined variable: HTTP_POST_VARS

The number of inputs from my form varies so I have distinguished them using a counter 
that increments for each record:

<input type="text" name=Service<?php echo $counter ?> size="10">

When requesting them from the header I loop through using another counter:

while ($counter <= $noServices) {
    $serviceId = $HTTP_POST_VARS['Service$counter'];

No matter how I try to build the name of the post variable I always get the following 

Warning: Undefined variable: HTTP_POST_VARS in 
C:\Inetpub\wwwroot/php/neuquote/startquote.php on line 251

I have tried buiding the string as follows:

$postVar = "Service".$counter  // put $postVar between []

I have done this in ASP before and from what I have seen from PHP so far it is more 
powerful, thus hopefully one of u guys can help by a different string build or a 
different approuch to creating the inputs

Thank you for your time.

John Stoops, Neutralize (*\*)

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to