zetcoby Posted July 23, 2012 Share Posted July 23, 2012 Hello, i am a bit confused, where is the best place to write the code of a form? in the same file where the forum it self is located or in a other php file? what structure to use? how do u guys organized you site files? can someone please tell me what is the best way to organize your files in folders? but a other way besides MVC, the problem is that i don`t use frameworks yet, i am still learning php. Quote Link to comment https://forums.phpfreaks.com/topic/266105-php-form-code-and-file-structure/ Share on other sites More sharing options...
xyph Posted July 23, 2012 Share Posted July 23, 2012 I like the Post/Redirect/Get method that's been quite popular for a while. http://en.wikipedia.org/wiki/Post/Redirect/Get http://www.andypemberton.com/engineering/the-post-redirect-get-pattern/ Quote Link to comment https://forums.phpfreaks.com/topic/266105-php-form-code-and-file-structure/#findComment-1363617 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.