Welcome Guest, Not a member yet? Register   Sign In
Select Query remove space automatically
#1

Hi,
I'm a new member of the forum Smile

This is my first experience with Codeigniter and my absolute first with a framework php. Today i'm writing a function in my model to get information from a mysql table. 

I do:

$this->db->select('Web Developer');
....

But i get the error: "SELECT 'Web' 'Developer' FROM ... Column Web doesn't exist "

CI has automatically replaced space with apex, splitting my single column in two columns.

Why does it happen? How could i prevent it?

Thank you in advance!
Reply


Messages In This Thread
Select Query remove space automatically - by Luca4k4 - 02-01-2018, 06:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB