Welcome Guest, Not a member yet? Register   Sign In
OMG what is up with the documentation......
#10

[eluser]pickupman[/eluser]
Code:
foreach($query->result() as $row){

}

Keep in mind that your foreach loop is only going to create one field. It will iterate each result and only save the string from the last iteration.


Messages In This Thread
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 05:21 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 05:32 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 05:35 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 05:41 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 05:53 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 06:18 PM
OMG what is up with the documentation...... - by El Forum - 08-13-2010, 10:20 PM
OMG what is up with the documentation...... - by El Forum - 08-14-2010, 01:39 AM
OMG what is up with the documentation...... - by El Forum - 08-14-2010, 02:32 PM
OMG what is up with the documentation...... - by El Forum - 08-14-2010, 04:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB