Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP error: "Cannot pass parameter 2 by reference"

The simplest way to put this into perspective for memorization by behavior (in terms of PHP):

bindParam: reference
bindValue: variable

in my case i used bindValue;
 
PREVIOUS NEXT
Tagged: #PHP #pass #parameter
ADD COMMENT
Topic
Name
8+7 =