$a = null;
var_dump(isset($a)); //false
涉及金钱时,使用浮点数进行计算,然后每月结算时会发现会有几块钱的偏差,但对账时却发现不了问题。$result = $this->select();
return $reuslt;
重复造轮子。比如PHP有提供函数来实现某个功能的,但是因为自己不知道,所以自己又写了一个函数出来实现相同的功能,不但浪费时间而且增加了代码的复杂度。
echo "\r\n\t\t\r\n\t\r\n\t\r\n\t";
if ( $sourceurl != "-1" && $sourceurl != "" && $sourceurl != "0" && strstr( $sourceurl, "/" ) )
{
$SourceArr = explode( "/", $sourceurl );
$sourcename = $SourceArr[1];
$sourcefolder = $SourceArr[0];
echo "\t\"setsource\" class=\"pluszone\">";
echo $strPlusZone4;
echo "
\r\n\t\"s_setsource\" class=\"pluszonex\">\r\n\t\"sourcezone\">
\r\n\t
\r\n\t";
echo ";
echo "cript>\r\n\t\$(document).ready(function(){\r\n\t\t\$().getPicSource();\r\n\t});\r\n\t\r\n\t";
}
echo "\t\"sourcename\" type=\"hidden\" id=\"sourcename\" value=\"";
echo $sourcename;
echo "\" size=\"35\" />\r\n\t\"sourcefolder\" type=\"hidden\" id=\"sourcefolder\" value=\"";
echo $sourcefolder;