#19169 [Opn->Bgs]: cant use arrays items as function parameters
| From: | derick@php.net | Date: | Thu, 29 Aug 2002 08:34:16 +0000 |
| Subject: | #19169 [Opn->Bgs]: cant use arrays items as function parameters | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18136@lists.php.net to get a copy of this message | ||
ID: 19169
Updated by: derick@php.net
Reported By: tzvikrn@mizra.co.il
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: win2k
PHP Version: 4.2.2
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-08-29 04:26:17] tzvikrn@mizra.co.il
im using win2k and apache 1.3.26 .
when ever im using ImageLine() or mysql_query() i have to
put array items into regular variables in order to use them
as function parameters or i get errors.
example:
$ar = $_GET['ar'];
$dea = $_GET['dea'];
$result = mysql_query("DELETE FROM shop WHERE(article = '$ar' AND
dealer = '$dea')");
or:
$x = $area[$i];
$y = $area[$i+1];
$xnew = $area[$i+2];
$ynew = $area[$i+3];
ImageLine($image,$x,$y,$xnew,$ynew,$blue);
using IIS led to the same results
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19169&edit=1