SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
-
Jun 26, 2001, 21:35 #1
- Join Date
- Jun 2001
- Location
- Malaysia
- Posts
- 352
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How to design webpages.. and then incl. PHP?
hey guys...
yes it's me againone more question:
I plan to use Dreamweaver to generate a webpage with graphics, mouseovers and the lot. Can i Copy and Paste PHP code sections directly into my webpage in Dreamweaver, and then save the file as a PHP?
Then how do you guys do it.. like... creating your forum main page for instance! With all the "links" above the page.. you can't have coded it by hand!
Any other suggestions on designing a normal webpage, and then including PHP portions would be greatly appreciated!
-
Jun 26, 2001, 21:44 #2
- Join Date
- Jun 2001
- Location
- CA
- Posts
- 9
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Can i Copy and Paste PHP code sections directly into my webpage in Dreamweaver, and then save the file as a PHP?
How to include somthing like the links above on each page, it's simple, just go:
<?php include("filename.php"); ?>
where filename.php has the code for the links or whatever. And the links appear on each page, then to edit the links, just change the code in filename.php and the change is show across all the pages.Last edited by Ripped_Edge; Jun 26, 2001 at 21:47.
Ripped_Edge
ripped_edge@hotmail.com
http://www.452productions.com
World Domination on a Global Scale (TM)
-
Jun 26, 2001, 21:47 #3
- Join Date
- Jun 2001
- Location
- Malaysia
- Posts
- 352
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
great! So i can include <?php ?> codes into dreamweaver huh..
-
Jun 26, 2001, 21:51 #4
- Join Date
- Feb 2001
- Location
- New Zealand
- Posts
- 516
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes you can. But I would recommend just using the PHP to include another PHP file with all your PHP stuff in that. Best to keep the two languages separate.
-
Jun 26, 2001, 21:53 #5
- Join Date
- Jun 2001
- Location
- Malaysia
- Posts
- 352
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
yeah... good idea.
thanks guys!
Bookmarks