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

[eluser]ranjitbd[/eluser]
//this is the link
<a HREF="&lt;?=base_url()?&gt;miscellaneous/goToTmbd.html">Travelmartbd.com</a>

//this is the function
&lt;?php
class Miscellaneous extends Controller {
function goToTmbd()
{
echo "[removed]
var uri = 'http://www.travelmartbd.com';
[removed].href=uri;
[removed]";
}
}
?&gt;
//i want to write this function without javascript.i want to do it through pure php


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