好的,就像标题所说的,我需要从我的索引页面调用一个php函数,它使用JQueryAjax在我的数据库中添加一条新记录作为投票。此函数将返回一个整数,然后将在从中调用它的表单按钮中打印出来。Edit:
function using ajax and it will return theindex.php</e
在我的php脚本的顶部,我有一个require_once('../registration/include/membersite_config.php');,它是一个包含我所有站点函数的类。其中有一个函数,我用$fgmembersite>stats进行正常调用,但现在我必须从jquery函数调用它。CALL $(div_id).toggle(400);
re