刚接触php,常看到程序里有->符号,请问这个符号是什么意思?比如这一句:
$row = $dsql->GetOne("Select * From `#@__member_stow` where aid='$aid' And mid='{$ml->M_ID}' ");

解决方案 »

  1.   

    调用类中的方法或者变量的符号如果lz不了解地说说明lz对面向对象编程还不是很了解,建议从那里着手学起
      

  2.   

    $smarty = new Smarty;
    $smarty -> display("index.html");
    这是利用smarty模板的一个小例子~
      

  3.   


    class myClass{
    var $asdf="asdf";
    function boo($type){
    echo $type;
    }
    }$myclass=new myClass();
    $myclass->boo("aaaaaaaaaaaaaaaaa");echo "<br/>".$myclass->asdf;