From: php-report at web58 dot de
Operating system: WIN, Linux
PHP version: 4.3.1
PHP Bug Type: *General Issues
Bug description: mysql
Description:
------------
Hello,
I am not sure, if can say if it a bug!
When I send a form-array:
echo $_POST[fieldname][$i];
I get the value of a array!
If I will write in Mysql
$sql= "INSERT INTO (field) ($_POST[fieldname][$i])";
$sql= "INSERT INTO (field) ('$_POST[fieldname][$i]')";
i get the word array.
Or make I a thing-error?
Same echo <<<HALLO
...
HALLO;
Reproduce code:
---------------
s.o.
--
Edit bug report at http://bugs.php.net/?id=25477&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25477&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25477&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25477&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25477&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25477&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25477&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25477&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25477&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25477&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25477&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25477&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25477&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25477&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25477&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25477&r=gnused