Welcome Guest, Not a member yet? Register   Sign In
Add variable
#1

(This post was last modified: 11-18-2014, 06:55 PM by jaysondotp.)

Hi Coders,


how to add a variable in a correct way when i have.
PHP Code:
public function stock($search_keyword$limit$start

i get error when i add $search_keyword.

PHP Code:
$this->db->limit($limit$start);

$this->db->like('pof',$search_keyword); 
Reply
#2

What's error information?
Reply
#3

(This post was last modified: 11-18-2014, 08:13 PM by kilishan.)

I'm not sure what error it's providing you, and there's several things it could be but I can't really tell without more information. What's the error you're getting?

Are you sure your $search_keyword variable isn't empty?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB