ID:               25477
 User updated by:  php-report at web58 dot de
 Reported By:      php-report at web58 dot de
 Status:           Open
 Bug Type:         *General Issues
 Operating System: WIN, Linux
 PHP Version:      4.3.1
 New Comment:

yes I have forget the word VALUE, in the SQL-String, but I get, the
word array, too!


Previous Comments:
------------------------------------------------------------------------

[2003-09-10 16:24:42] php-report at web58 dot de

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 this bug report at http://bugs.php.net/?id=25477&edit=1

Reply via email to