halfer / php-tutorial-text

The chapter text for the "I ♥ PHP" project
14 stars 1 forks source link

Should saving in edit mode go back to edit mode or not? #25

Closed kelmster closed 6 years ago

kelmster commented 6 years ago

I know it is an old tutorial but I went through it. when I got done I added a post and save it, then it goes directly in to edit. Don't know if I missed something. I will go through it and see if I can see something I was just letting you know. Thanks for the Awesome tutorial.

halfer commented 6 years ago

You're welcome!

From the code it looks like the operation you describe is expected. If there are no errors, it does the save and redirects back to self. Of course, it being a tutorial, you can change that in your copy if you like, once you are done.