Hi all,
Firstly i would like to thank all those that have helped me in the past. And all those who answer posts, the forums here are really valuable for guys like me.
My question is:
Previously i had all my code php and html in two files. These files are massize, and really difficult to follow. Now i have seperated all the HTML pages into a folder and all the php functions into a different folder (about 20 html pages, 50 php functions), my problem is that to link the html to the php and then php tp php ive been using the include 'http://www.mysite.com/phpfolder/phpcodefile.php '; for PHP and the same thing for HTML.
ive found this very slow even with small functions, such as logging in.
in the past all the functions were in the same file and i was using a standard call to the function which was easy to open and close.
I really need some advice, in the past ive been told seperating code into unique files doesn't make a difference in speed? Am i doing something wrong? i would be grateful for an example.
Regards,
BOB