Hi there.
I’ve tried building a page using php and mysql and I must say it’s working very good. But I’m going to start on a new one, and I just wonder how you guys build your sites.
When I built my site - I had three files. Index.php, mysql.php and actions.php. Index.php contained all the pages separated with if’s - mysql.php contained a couple of functions that returned if the user could log in and so on - actions.php was the file that wrote the information to the database.
And I, an unexperienced php-scripter, just want to know how you guys build your sites - or if you have any tips for me how I can make things.
I want another way of storing the different pages on my site - should I just make page2.php and include this in index.php where my menus are?
Hope you could give me some ideas