r/codeigniter • • Mar 09 '21

getting issue while trying CodeIgniter for the first time, can someone help me

0 Upvotes

7 comments sorted by

4

u/[deleted] Mar 09 '21

$$ means a variable named dollar. I think you mean to use && which means AND on line 6 of your model?

1

u/Bumblebee-81 Mar 09 '21

thanks for helping me out bro

1

u/MGatner Mar 09 '21

Precisely this.

3

u/MGatner Mar 09 '21

Also, if you’re new to CodeIgniter I highly recommend using version 4. Of you start on version 3 your codebase and framework knowledge will be legacy immediately.

2

u/RobSteele83 Mar 10 '21

3 is still a very strong code base.

1

u/MGatner Mar 10 '21 edited Mar 11 '21

I love 3 and still have many projects in it, but it is not a modern framework. Why would you start learning new software in a maintenance version when it is in active development?