因为自己没有这方面的知识,就是这个php的题目:RecordBookThatPersonRead("John Smith", "Midsummer Night'sDream");$x->RecordBookThatPersonRead("Jane Doe", "War &eace");$x->RecordBookThatPersonRead("John Smith","Freakonomics");$x->RecordBookThatPersonRead("Jane Doe", "Freakonomics");$x->RecordBookThatPersonRead("Jane Doe", "Bogleheads");$x->RecordBookThatPersonRead("John Smith", "War &eace");$x->RecordBookThatPersonRead("Jane Doe", "Brave NewWorld");// This test code dumps out people and books they readecho "John Smith read:\n";var_dump($x->ReturnBooksReadByPerson("John Smith"));echo "Andy Warhol read:\n";var_dump($x->ReturnBooksReadByPerson("Andy Warhol"));echo "Jane Doe read:\n";var_dump($x->ReturnBooksReadByPerson("Jane Doe"));?>自己再w3school自学了一阵子php还是没有太明白,希望有同学可以给我一些php方面学习的资料,建议,多谢拉 |
|
|
|
|
共 1 个关于本帖的回复 最后回复于 2013-8-16 10:13