|
Posted by Pasquale on 01/12/06 22:18
Is it possible that there is such a difference between version 4.3.10
and 5.1.1 that the following code, which is at the top of my script,
gives the errors below in v5.1.1 and not in 4.3.10 running on NT??
Is my coding method incorrect?
It works without errors on an NT machine with another host using v4.3.10.
Thanks.
## BEGIN CODE
$rqrd = array(
'First name' => $fname, 'Last name' => $lname,
'Email' => $email, 'User name' => $uname,
'Password' => $password, 'Company' => $company,
'Nature of the Business' => $naturebusi, 'Address' => $address,
'City' => $city, 'Province' => $provstate,
'Postal/Zip code' => $postalzip, 'Phone number' => $phonenum
);
## END CODE
## BEGIN ERROR
Notice: Undefined variable: fname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 7
Notice: Undefined variable: lname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 7
Notice: Undefined variable: email in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 8
Notice: Undefined variable: uname in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 8
Notice: Undefined variable: password in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 9
Notice: Undefined variable: company in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 9
Notice: Undefined variable: naturebusi in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 10
Notice: Undefined variable: address in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 10
Notice: Undefined variable: city in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 11
Notice: Undefined variable: provstate in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 11
Notice: Undefined variable: postalzip in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 12
Notice: Undefined variable: phonenum in
D:\InetPub\wwwroot\mywebsite_com\bsp\common.php on line 13
## END ERROR
[Back to original message]
|