o0O0o.o0O0o
01-16-2008, 03:46 AM
hi ,
I have just found a php script through which we can directly call the php functions
e.g
<php
require"PHPLiveX.php";
function getData($id)
{
..... database code
}
function setData($a,$b)
{
... . . . database code
}
we just have to use this line
$plx = new PHPLiveX("getData,setData");
<? $plx->Run(); ?>
And we can call functions directly from javascript
<a href="javascript:getData(1, 'target=showText');">test it</a>
<span id="showText"></span>
It is working perfectly fine
http://www.phplivex.com/
I have just found a php script through which we can directly call the php functions
e.g
<php
require"PHPLiveX.php";
function getData($id)
{
..... database code
}
function setData($a,$b)
{
... . . . database code
}
we just have to use this line
$plx = new PHPLiveX("getData,setData");
<? $plx->Run(); ?>
And we can call functions directly from javascript
<a href="javascript:getData(1, 'target=showText');">test it</a>
<span id="showText"></span>
It is working perfectly fine
http://www.phplivex.com/