Welcome Guest, Not a member yet? Register   Sign In
Amending result_array
#1

[eluser]CinoGenX[/eluser]
Hi @ all

In my model I'm trying to amend values in an array generated from a phpbb query before passing back to my controller....

i.e.
$sql = "SELECT post_id, post_subject, post_text, bbcode_uid, bbcode_bitfield, bbcode_options FROM phpbb_posts WHERE .......";

$query = $this->db->query($sql);

I now want to foreach through the results and change the post_text using the phpbb3 function "generate_text_for_display".

Can someone help me out on this please....banging my head on the table on this one.

Many thanks.


Messages In This Thread
Amending result_array - by El Forum - 11-27-2012, 02:13 PM
Amending result_array - by El Forum - 11-27-2012, 04:39 PM
Amending result_array - by El Forum - 11-28-2012, 01:53 AM
Amending result_array - by El Forum - 11-28-2012, 05:12 AM
Amending result_array - by El Forum - 11-28-2012, 12:43 PM
Amending result_array - by El Forum - 11-28-2012, 10:23 PM
Amending result_array - by El Forum - 11-29-2012, 01:05 AM
Amending result_array - by El Forum - 11-29-2012, 01:26 AM
Amending result_array - by El Forum - 11-29-2012, 07:55 AM
Amending result_array - by El Forum - 11-29-2012, 02:24 PM
Amending result_array - by El Forum - 11-30-2012, 01:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB