php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19169 cant use arrays items as function parameters
Submitted: 2002-08-29 04:26 UTC Modified: 2002-08-29 04:34 UTC
From: tzvikrn at mizra dot co dot il Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.2 OS: win2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tzvikrn at mizra dot co dot il
New email:
PHP Version: OS:

 

 [2002-08-29 04:26 UTC] tzvikrn at mizra dot co dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-29 04:34 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 02:01:29 2024 UTC