Hi my code is 99% based on Akrabat's tutorial. And I wanted to do things with my database that Rob didn't cover in his book. Also the Zend manual doesn't explain things in a way that I can understand it. Also most of the one-to-many examples on the Internet is too fragmented for me to fully understand.
http://akrabat.com/zend-framework-tutorial/
Screenshot 1 and Code 1 shows you how things look like when everything is working.
Screenshot 1
http://i49.tinypic.com/15xs6ds.jpg
Code 1
http://pastebin.com/m49755d82
Screenshot 2 and Code 2 shows what happens when I implemented the MySQL code that I wanted to use.
I tried to use the associative array by writing $AlbumID["albums.title"] instead of just $AlbumID["title"] but the list breaks.
What am I doing wrong?
Screenshot 2
http://i49.tinypic.com/2rppjcn.jpg
Code 2
http://pastebin.com/m660ccf6a
/Darth apprentice
2009年12月19日星期六
订阅:
博文评论 (Atom)
没有评论:
发表评论