#19167 [NEW]: cant use arrays items as function parameters
| From: | tzvikrn at mizra dot co dot il | Date: | Thu, 29 Aug 2002 08:20:01 +0000 |
| Subject: | #19167 [NEW]: cant use arrays items as function parameters | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18132@lists.php.net to get a copy of this message | ||
From: tzvikrn@mizra.co.il
Operating system: win2k
PHP version: 4.2.2
PHP Bug Type: Scripting Engine problem
Bug description: cant use arrays items as function parameters
im using win2k and apache 1.3.26 .
when ever im using ImageLine() or mysql_query() i have to
put attay 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 bug report at http://bugs.php.net/?id=19167&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19167&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19167&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19167&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19167&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19167&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19167&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19167&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19167&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19167&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19167&r=globals