php

Codeigniter Concatenate Two Columns  #angularjs #reactjs

  • Stack Overflow works best with JavaScript enabled
  • If I search for John, it shows all results, and if I search for Smith, it also shows them.
  • sign up log in tour help
  • I created a search function in my website that is able to search across all columns.
  • In my accounts table, I have accounts wherein they have their first name and last name.

I created a search function in my website that is able to search across all columns. In my accounts table, I have accounts wherein they have their first name and last name. If I search for John, it shows all results, and if I search for Smith, it also shows them. However, I cannot search for John Smith. I tried to concatenate two columns but I get errors.

@ng_real_ninja: Codeigniter Concatenate Two Columns #angularjs #reactjs

I created a search function in my website that is able to search across all columns. In my accounts table, I have accounts wherein they have their first name and last name. If I search for John, it shows all results, and if I search for Smith, it also shows them. However, I cannot search for John Smith. I tried to concatenate two columns but I get errors.

Controller:

The code above gives me an error:

php