cannot user redirect() function.. |
[eluser]scorpioniz[/eluser]
[quote author="Tim Brownlaw" date="1410660500"]Well scorpioniz insists that the insert and updates are working indicating that execution is falling into the else block... Which I find a little hard to believe with the provided code sample as $data doesn't exist locally in the function and I cannot see where it's being defined. So it's obvious that IF the else block is being executed somethings going BANG halting execution... Or the redirect would be getting executed... We're flying blind here! So A Quick check would be to do this... Code: <?php if ( ! defined('BASEPATH') ) exit('No direct script access allowed'); sorry.. that i didn't put all my code.. :? i thought it will be easier to read.. but still nothing helping.. event if in else it is Code: $event_id = 1; it starts to load show page but later it still opens edit page.. so here is my all code of that function.. Code: function edit($id = NULL, $test = null){ and i have made screenshots of my sql, and developer tools network tab with some comments in it, i hope it will help something.. :/ Screenshot |
Messages In This Thread |
cannot user redirect() function.. - by El Forum - 09-12-2014, 07:26 AM
cannot user redirect() function.. - by El Forum - 09-12-2014, 09:12 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 07:15 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 08:28 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:00 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:20 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:28 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 09:36 AM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:17 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:19 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 04:51 PM
cannot user redirect() function.. - by El Forum - 09-13-2014, 07:08 PM
cannot user redirect() function.. - by El Forum - 09-15-2014, 12:22 AM
cannot user redirect() function.. - by El Forum - 09-15-2014, 01:12 AM
cannot user redirect() function.. - by El Forum - 09-15-2014, 05:39 PM
cannot user redirect() function.. - by El Forum - 09-15-2014, 06:53 PM
|