Welcome Guest, Not a member yet? Register   Sign In
replace javascript function with php coding
#5

[eluser]kgill[/eluser]
That's a roundabout way of forwarding the user to a new page, using PHP to write javascript to move to a new page. Use CI's redirect function which is just a nice wrapper to PHP's header function with the Location parameter. For future reference, you'd have gotten help quicker if you'd explained what it is your JS did instead of just posting the code and asking how to convert it.


Messages In This Thread
replace javascript function with php coding - by El Forum - 08-27-2009, 02:53 AM
replace javascript function with php coding - by El Forum - 08-27-2009, 03:06 AM
replace javascript function with php coding - by El Forum - 08-28-2009, 11:38 PM
replace javascript function with php coding - by El Forum - 08-28-2009, 11:55 PM
replace javascript function with php coding - by El Forum - 08-29-2009, 12:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB