Welcome Guest, Not a member yet? Register   Sign In
how to deal with .com in SQL query?
#7

(This post was last modified: 09-10-2020, 12:04 PM by InsiteFX.)

If you read the documentation it states that the where clause is the same as CodeIgniters.

PHP Code:
$userid   $this->session->userdata('userid');
$campaign $this->session->userdata('campaign');

$where = array('email =' => $userid,'campaign =' => $campaign); 

As far as your .com on the email just use double quotes not single.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
how to deal with .com in SQL query? - by richb201 - 09-10-2020, 04:15 AM
RE: how to deal with .com in SQL query? - by InsiteFX - 09-10-2020, 12:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB