#25477 [Opn->Bgs]: mysql
| From: | derick@php.net | Date: | Wed, 10 Sep 2003 20:40:49 +0000 |
| Subject: | #25477 [Opn->Bgs]: mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47398@lists.php.net to get a copy of this message | ||
ID: 25477
Updated by: derick@php.net
Reported By: php-report at web58 dot de
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: WIN, Linux
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
.
Previous Comments:
------------------------------------------------------------------------
[2003-09-10 16:27:19] php-report at web58 dot de
yes I have forget the word VALUE, in the SQL-String, but I get, the
word array, too!
------------------------------------------------------------------------
[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