Search the Community
Showing results for tags 'includes'.
-
Using Dreamweaver CC. Server working. includes/header.html file works and css file works Chapter 3 Script 3.6 and 3.8 I had to change (which I expected) include ('includes/header.html'); to include ('../includes/header.html'); <?php include ('includes/footer.html'); ?> to <?php include ('../includes/footer.html'); ?> to get the include to work. The style.css does not work. Tried changing the include statement but nothing works. I think it's because there's an include calling an include??? Anyone have a solution? Yes I know operator error :-)
-
Hi, this is a general question based on the user registration scripts found in the back of this book. I was trying to create a single page which could call login.php and registration.php via includes() at the beginning of index.php; and then have two areas on a single page where the user could either sign up and be taken to the activation page, or where the user could login and be taken to the backend. Is there a way to do this on a single page without having to cut and paste the entirety of the two scripts (login and registration) into index.php? Is this how includes() can be used?