Expand|Select|Wrap|Line Numbers
- var d = "Zick";
- $.ajax({
- type: "post",
- url: "e_class.php/mainCategory",
- data:{
- d:d
- },
- success: function(inlog){
- alert(inlog);
- }
- });
Expand|Select|Wrap|Line Numbers
- class E_class
- {
- public function mainCategory()
- {
- echo $_POST['d'];
- }
- }