php 个人实践经验技巧

1.mysql 表名加上 `` 符号

2.int preg_match ( string $pattern , string $subject [, array &$matches [, int $flags = 0 [,int $offset = 0 ]]] )

preg_match()返回 pattern 的匹配次数。 它的值将是0次(不匹配)或1次

preg_match_all() 返回 True or false

你可能感兴趣的:(php 个人实践经验技巧)