PHP & MySQL数据库应用开发指南(第二版)
《PHP & MySQL数据库应用开发指南(第二版)》勘误表
提交您发现的本书勘误内容

30页,第十二行,
原文:print 1This works1;
应为:print 'This works';

30页,第十八行,
原文:print 1This string has a \1: a single quote!1;
应为:print 'This string has a \': a single quote!';

30页,第二十一行,
原文:print "This string has a 1: a single quote!";
应为:print "This string has a ': a single quote!";

30页,第二十二行,
原文:print 1This string has a ": a double quote!1;
应为:print 'This string has a ": a single quote!';

30页,第二十九行,
原文:$var=1The quick brown fox
jumps over the lazy dog1;
应为:$var='The quick brown fox
jumps over the lazy dog';

第32页第1段,第4行:
print 1This $vehicle holds $number people1;
应为:
print 'This $vehicle holds $number people';

46页倒数第5行:
//转换为整型
$str = (string) $var;
$str = strval($var);
应为:
//转换为字符串型

第77页倒数第7行:
doesn1t
应为:
doesn't

第79页,中间部分:
$clothing会被dwelling改写
应为:
$clothing会被$dwelling改写