#19167 [Opn->Bgs]: cant use arrays items as function parameters

From: Date: Thu, 29 Aug 2002 08:21:24 +0000
Subject: #19167 [Opn->Bgs]: cant use arrays items as function parameters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18133@lists.php.net to get a copy of this message
ID: 19167 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: Sorry, but the bug system is not the appropriate forum for asking support questions. 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 Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-08-29 04:20:00] tzvikrn@mizra.co.il 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 this bug report at http://bugs.php.net/?id=19167&edit=1

« previous php.bugs (#18133) next »