dink87522 Posted January 3, 2010 Share Posted January 3, 2010 I am trying to follow the tutorial found at http://www.php-mysql-tutorial.com/wikis/php-tutorial/admin-page-for-content-management-system-cms.aspx and like one of the user's in the comments of that tutorial, my edit data is not being saved. I try to edit an article although the edit is not saved. The MYSQL user has all permissions to the database. Anyone know why it may not be working? Quote Link to comment https://forums.phpfreaks.com/topic/186979-edit-not-saved/ Share on other sites More sharing options...
MadTechie Posted January 3, 2010 Share Posted January 3, 2010 try changing else if(isset($_POST['save'])) to else if(isset($_POST['update'])) Quote Link to comment https://forums.phpfreaks.com/topic/186979-edit-not-saved/#findComment-987378 Share on other sites More sharing options...
dink87522 Posted January 3, 2010 Author Share Posted January 3, 2010 Didn't do it Quote Link to comment https://forums.phpfreaks.com/topic/186979-edit-not-saved/#findComment-987635 Share on other sites More sharing options...
wildteen88 Posted January 3, 2010 Share Posted January 3, 2010 The change MadTechie suggested should work. How do you know the changes are not being saved? Quote Link to comment https://forums.phpfreaks.com/topic/186979-edit-not-saved/#findComment-987654 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.