tim kiem php

  1. Lê Minh

    Hàm tìm kiếm chuỗi trong php strpos, strstr

    Hàm tìm kiếm chuỗi trong php strpos, strstr Cú pháp: string strstr(string str1, string str2); Ví dụ minh họa về hàm tìm kiếm chuỗi: <?php $str="your customer service is excellent."; echo strstr($str,"is")."<br>"; echo strchr($str,"c")."<br>"; echo strrchr($str,"e")."<br>"; echo...
Top