problem with refresh data

#1
[eluser]cipherz[/eluser]
function index() {
//connect database and retrieve list of item
}

function create() {
// page with form to input data
}

function do_create_item {
// insert data to database
redirect('index');
}

this is my piece of code. I'm using CI2.0. I have a problem when i insert data into database
and redirect back to index page. The new data doesn't appear after the redirect to index page
but i have to press refresh button of browser before the item appear.

Can anybody help what is the problem here?
Thank you in advance.....


Messages In This Thread
problem with refresh data - by El Forum - 08-21-2010, 09:39 AM
problem with refresh data - by El Forum - 08-21-2010, 01:46 PM
problem with refresh data - by El Forum - 08-22-2010, 08:28 AM
problem with refresh data - by El Forum - 08-22-2010, 10:02 AM
problem with refresh data - by El Forum - 08-22-2010, 11:04 AM
problem with refresh data - by El Forum - 08-22-2010, 12:46 PM
problem with refresh data - by El Forum - 08-23-2010, 12:39 AM
problem with refresh data - by El Forum - 08-24-2010, 12:07 AM
problem with refresh data - by El Forum - 08-25-2010, 12:06 PM
problem with refresh data - by El Forum - 08-25-2010, 01:01 PM
problem with refresh data - by El Forum - 08-26-2010, 12:40 AM
problem with refresh data - by El Forum - 08-26-2010, 03:10 AM
problem with refresh data - by El Forum - 08-26-2010, 11:41 PM
problem with refresh data - by El Forum - 08-27-2010, 05:53 AM
problem with refresh data - by El Forum - 08-27-2010, 09:34 AM
problem with refresh data - by El Forum - 08-27-2010, 11:16 AM
problem with refresh data - by El Forum - 08-31-2010, 11:46 AM
problem with refresh data - by El Forum - 08-31-2010, 02:27 PM
problem with refresh data - by El Forum - 08-31-2010, 07:41 PM
problem with refresh data - by El Forum - 09-02-2010, 04:54 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.