php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #34493 mysqli_stmt_bind_param
Submitted: 2005-09-13 19:55 UTC Modified: 2005-09-20 14:21 UTC
From: terry dot long at prodigy dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: windows xp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: terry dot long at prodigy dot net
New email:
PHP Version: OS:

 

 [2005-09-13 19:55 UTC] terry dot long at prodigy dot net
Description:
------------
The on-line documentation has two simple examples but needs two added complete samples to show how to pass arrays to this function instead of the typed in $variable names.  I know that it's possible because Bug report #31096 has a response with a short (I don't understand how it works enough to get my code to work correctly) code snipet. 

Expected result:
----------------
Examples that show how to use arrary's of variables with the mysqli_stmt_bind_param and mysqli_execute functions.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-13 19:57 UTC] terry dot long at prodigy dot net
I'm using the procedural code style, not the object style, at this point.  thanks
 [2005-09-20 14:21 UTC] vrana@php.net
mysqli_stmt_bind_param() can't be called with an array. Example in bug #31096 shows how to use call_user_func_array() to pass all the parameters together. Take a look at call_user_func_array() documentation to understand it.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 00:00:02 2025 UTC