php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19167 cant use arrays items as function parameters
Submitted: 2002-08-29 04:20 UTC Modified: 2002-08-29 04:21 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
 [2002-08-29 04:20 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 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-29 04:21 UTC] derick@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 05:01:31 2024 UTC