I have netbeans,xampp is running,database is ok.All functions running no problem,but this one,keep getting 404 error.Double checked the spelling and the code.Can not figure out the problem.

Recommended Answers

All 4 Replies

Model name is BooksModel (plural), in that method controller you're calling BookModel, (singular). Bye ;)

commented: this might have happened +0

You might have left the compiler on/running or am I talking about the wrong version of netbeans.xamapp

For some reason,doesn not work,same error 404,i have changed to BooksModel,had missed 's'.I did getTitles same way as getAuthors. And getAuthors works,but getTitles not.What else could be the problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.