Can't work out what is wrong with this code
Can't work out what is wrong with this code
Hi, I'm trying to return a row from a table and I'm having a tough time working out how to do it. Here is my code: https://gist.github.com/simonconnah/86f4a8ecb41f9ea3a4c759e5eba5c850 When I try and call the get_blog function in JavaScript I just get undefined which is not very helpful. Can someone point me in the right direction please? Simon.