close

我一直以為用php 的程式去卡就好了
不過事實上不是我想的那樣...
原來php傳給applet是要用applet的語法去控制的


php傳參數給applet
透過tag param將值傳給applet,可以在name/value的 ‘=’ 後面接php的code

<applet code="某applet檔" archive="某jar檔" width=600 height=400> <param name='參數的name' value='可用php語法<?echo $參數;?>'> </param></applet>

applet的讀法:

// in class MyApplet String name = this.getParameter("name"); // name="camel"

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 teall 的頭像
    teall

    等一個晴天

    teall 發表在 痞客邦 留言(0) 人氣()