Calculate position based on a value |
just a casual observer... however..
the only place in your query where there is a ? would be "AND a1.from_user_id=?". have you included the parameter substitution, like you did before (i.e., $this->db->where('from_user_id', $user_id);
OM...
------------------------- And on the pedestal these words appear: 'My name is Ozymandias, king of kings: Look on my works, ye Mighty, and despair!' Nothing beside remains. Round the decay Of that colossal wreck, boundless and bare The lone and level sands stretch far away. |
Messages In This Thread |
Calculate position based on a value - by Violette - 12-14-2015, 08:09 AM
RE: Calculate position based on a value - by keulu - 12-14-2015, 09:13 AM
RE: Calculate position based on a value - by Violette - 12-15-2015, 12:18 AM
RE: Calculate position based on a value - by ozzy mandiaz - 12-15-2015, 01:16 PM
RE: Calculate position based on a value - by Violette - 12-17-2015, 12:22 AM
RE: Calculate position based on a value - by davicotico - 12-17-2015, 06:29 AM
|