I'm not 100% sure how to word this.. [Web Help]
#4

Quote:
Originally Posted by Luis-
Посмотреть сообщение
Hm. I've tried all that.

My current structure goes like this;
Main Folder
- index.php
- .htaccess
Sub Folders
- functions -> header.php & footer.php
- images
- stylesheets
- server
- admin -> (with all the admin files inside)
PHP код:
    <link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
    <
link rel="stylesheet" type="text/css" media="screen" href="stylesheets/menu_css.css" /> 
This is the correct way, since index.php is the 'main' file of your webserver.

Also keep in mind, every piece of PHP code will never be reached to the user, PHP is server-side. HTML and JavaScript are client-side.
Reply


Messages In This Thread
I'm not 100% sure how to word this.. [Web Help] - by Luis- - 19.11.2016, 19:19
Re: I'm not 100% sure how to word this.. [Web Help] - by TwinkiDaBoss - 19.11.2016, 19:41
Re: I'm not 100% sure how to word this.. [Web Help] - by Luis- - 19.11.2016, 20:03
Re: I'm not 100% sure how to word this.. [Web Help] - by BlackBank - 19.11.2016, 23:29

Forum Jump:


Users browsing this thread: 2 Guest(s)