Jonathon Posted November 21, 2011 Share Posted November 21, 2011 Hi Larry, I was just wondering in the 3rd example of the book the admin script uses 1 script to add a new print and that script can also add a new artist if they don't exist. In the 4th edition you move to separate scripts, 1 for adding a new artist and 1 to adding a new product. Is there any reason you made the change? (Out of curiosity) Thanks Jonathon Link to comment Share on other sites More sharing options...
Larry Posted November 21, 2011 Share Posted November 21, 2011 Hey Jonathon, Good question. When doing new editions I look for things to improve by simplifying and for things to improve by expanding. I liked the original add_print.php as written, but found it to just be too complicated. There was too much logic and complication involved, especially when you factor in the file upload and such. I thought it'd be easier to understand, and more importantly, to debug, as two separate scripts. Link to comment Share on other sites More sharing options...
Jonathon Posted November 21, 2011 Author Share Posted November 21, 2011 Thanks Larry :-) Link to comment Share on other sites More sharing options...
Recommended Posts