I'm trying to pass the following variables to an MS SQL 2000 server. The first example inputs the correct value [Grant], the second example inputs [NULL].
Any ideas as to why this is, or how I can fix this?
Thanks for the help!
btw, I have to leave work today (Friday) by 3:30pm CST, so if I don't respond to your post today, I will respond as soon as possible on Monday.
Thanks for the help!
Steve
Any ideas as to why this is, or how I can fix this?
Code:
[red]Example 1:[/red]
mssql_bind($sp, "@ZZSALES",
$_POST['ZZSALES'], SQLCHAR, FALSE, FALSE, 5);
Code:
[red]Example 2:[/red]
foreach ($mpList_array as $key => $val) {
mssql_bind($sp, "@$key",
$_POST['$key'], SQLCHAR, FALSE, FALSE, 5);
}
Thanks for the help!
btw, I have to leave work today (Friday) by 3:30pm CST, so if I don't respond to your post today, I will respond as soon as possible on Monday.
Thanks for the help!
Steve