Forum does not like the "not equal to" sign.to.jpg[/img]
[img]http://share.thebant.com/pics/once/not-equal-
Throws out a SQL error on submit (not preview) with the symbol in the "post_text":
Error linky
SQL error on ≠ character entry
- indivisible
- Posts: 791
- Joined: Mon Jan 12, 2009 6:26 pm
- What is 3hirty p1us 4orty?: 4
- Location: 127.0.0.1
- NUTCRUSHER
- Posts: 12
- Joined: Tue Mar 25, 2008 1:14 am
- What is 3hirty p1us 4orty?: 70
Re: SQL error on ≠ character entry
Try this it's worked for me in the past
Here is an example for ya
I think you are looking for something like this:
$foo = MyModel::where('user_id', '=', $user_id)->whereNotIn( 'id', [1, 2, 7])->get();
Here is an example for ya
I think you are looking for something like this:
$foo = MyModel::where('user_id', '=', $user_id)->whereNotIn( 'id', [1, 2, 7])->get();
Ger
- NUTCRUSHER
- Posts: 12
- Joined: Tue Mar 25, 2008 1:14 am
- What is 3hirty p1us 4orty?: 70
Re: SQL error on ≠ character entry
Hi mate,
I think you are looking for something like this:
$foo = MyModel::where('user_id', '=', $user_id)->whereNotIn( 'id', [1, 2, 7])->get();
I think you are looking for something like this:
$foo = MyModel::where('user_id', '=', $user_id)->whereNotIn( 'id', [1, 2, 7])->get();
Ger