deemurphy Posted April 18, 2009 Share Posted April 18, 2009 if (filled_out($HTTP_POST_VARS)) { if(update_category($catid, $catname)) I got this out of the php book by Linda and Mark, it seems most of the code in their book I can not get it to work. I have book 2 and 3. Thank you LadyDee Quote Link to comment https://forums.phpfreaks.com/topic/154577-could-someone-please-tell-me-why-this-code-does-not-work/ Share on other sites More sharing options...
trq Posted April 18, 2009 Share Posted April 18, 2009 Besides the fact that $HTTP_POST_VARS has long been depricated in favour of $_POST filled_out() and update_category() are not built in functions. Have you defined them anywhere? I'd say you need to invest in a more current book. Quote Link to comment https://forums.phpfreaks.com/topic/154577-could-someone-please-tell-me-why-this-code-does-not-work/#findComment-812823 Share on other sites More sharing options...
Maq Posted April 18, 2009 Share Posted April 18, 2009 Book 2 & 3 by Linda and Mark...? Never heard of them. In any-case, you need to get a current book like thorpe mentioned, or, go online and find tutorials that have been recently written. Quote Link to comment https://forums.phpfreaks.com/topic/154577-could-someone-please-tell-me-why-this-code-does-not-work/#findComment-812825 Share on other sites More sharing options...
deemurphy Posted April 18, 2009 Author Share Posted April 18, 2009 Sorry I gave the wrong names, I went and got the books and they are by Luke Welling and Linda Thomson. I thought book 3 was their latest book. Could you recommend a better book. I really appreciate it LadyDee Quote Link to comment https://forums.phpfreaks.com/topic/154577-could-someone-please-tell-me-why-this-code-does-not-work/#findComment-812828 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.