close

3/3

有看到 PHP

isset

match

 

迴圈

PHP foreach

 

Jquery each

$.each(registered_info, function (key, value) {
     alert(key + ": " + value);
});

 

想要印出東西

js  console.log(); 頁面 F12 查看 Console

php   print_r();  頁面 F12 查看 Network

 

想要查出什麼型態

JS console.log(typeog(example)); 頁面 F12 查看 Console就可以知道是什麼型態

PHP gettype

 

在兩個值相加

JS  a += b,字串跟數字

PHP a .= b,字串;a += b,數字

arrow
arrow
    文章標籤
    PHP jquery foreach each
    全站熱搜

    Kaikai凱開 發表在 痞客邦 留言(0) 人氣()