下面是我的连接类,它处理到数据库的连接。class Connection{ public function __construct(){下面是我的Helpers类,这个类包含了在我的webapp中使用的所有常用方法,比如插入数据、删除和更新。现在我在我的register.php里这样称呼他们requir
我目前有一个使用jquery/php/PDO/mysql构建的站点。我想把我的表单改成jquery的ajax调用。但这就是我的问题所在。使用ajax调用,我不能在ajax post url中调用php函数。->process.php (post checks and then a call to add content from class) ->class.content.php (insertvars