PHP, Yeah, I kind of fail at it. >>; |
![]() ![]() |
PHP, Yeah, I kind of fail at it. >>; |
Aug 28 2008, 01:08 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Official Designer Posts: 37 Joined: Feb 2006 Member No: 381,509 |
So, I Jacqueline, recently purchased webspace and a domain from 1and1.com. My domain is: melacholiclights.org
I know many of you on createBlog are successful domain owners and have established well developed websites. I was wondering if any of you could possible direct me to a website, since I know how annoying it must be to hear from n00bs like myself about php and it's uncanny ability to confuse me. I really want to at least learn enough to utilize it in my web design and over all content management (which I plan to use cutenews for since it does seem to be popular). Of course, you do not need to answer this since I, once again, know how annoying this must be, and how tiring it is hearing the same issues over again. I do hope that I will get some responses, of course if I don't, I will understand. |
|
|
|
Aug 28 2008, 04:16 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
The only PHP I use is with my PHP includes, and those don't really take any extra knowledge at all. I have a tutorial on how to put them in here.
I don't have any other PHP wisdom to share. |
|
|
|
Aug 28 2008, 04:52 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() Group: Official Designer Posts: 37 Joined: Feb 2006 Member No: 381,509 |
Thank you Schizo. I appreciate your response.
What still alludes me is how exactly the "php includes" (ie. the header and footer) are implemented in to the overall layout? |
|
|
|
Aug 28 2008, 05:07 PM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
I don't really understand what part you don't understand: What the PHP includes do or how do you put them on your site? I think that tutorial explains both.
|
|
|
|
Aug 28 2008, 06:39 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() Group: Official Designer Posts: 37 Joined: Feb 2006 Member No: 381,509 |
I think I'm just confusing myself.
For the content, do you use an iframe? |
|
|
|
Aug 28 2008, 06:50 PM
Post
#6
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
No, I don't think I'm using any (unless I'm forgetting something).
|
|
|
|
Aug 28 2008, 08:03 PM
Post
#7
|
|
![]() AIDS at RAVES. ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,386 Joined: Dec 2007 Member No: 598,878 |
I personally use dynamic inclusions
heres a tut http://pootato.org/tutorials/php/dynamic-inclusion-subpages/ so you use php includes like this in you layout for web templates you have 4 parts html head body footer you get the first 2 part and put it in a new file and call that a.php then you get the last 2 parts and put it in a new file and call that b.php then on your pages this is how you would do it CODE <?php include ('a.php'); ?> content <?php include ('b.php'); ?> basically a and b are your header and footer now dynamic inclusions are a step above that. In dynamic inclusions you dont need to put <?php... in every page, all you do is just put your content, but then how does the footer and header show up? good question, instead your url changes instead of mysite.com/page.php it becomes mysite.com/index.php?x=mypage the difference between the two urls are that in the first one you are directly calling on the page, whereas in dynamic inclusions, your dynamically including the header and footer by adding the index.php?x= heres a link to learning dynamic inclusions, its so much easier and looks more professional:] http://pootato.org/tutorials/php/dynamic-inclusion-subpages/ as far as cutenews, I dont rely on it, instead I use an alternative and its much safer because it uses mYSQL http://network-13.com/thread/c45412a29e0f10fb i hope your not confused :] |
|
|
|
Aug 28 2008, 08:40 PM
Post
#8
|
|
![]() Senior Member ![]() ![]() ![]() Group: Official Designer Posts: 37 Joined: Feb 2006 Member No: 381,509 |
Ahhh! Thank you! *runs in circles* I believe I understand it better now.
Thank you Schizo, and many thanks to skylitex for putting up with me. Haha. |
|
|
|
Aug 29 2008, 06:19 AM
Post
#9
|
|
![]() Cornflakes :D ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 4,541 Joined: Dec 2005 Member No: 322,923 |
So, did you figure this out or do you need some more tutorials? What kind of site are you making anyway? Is it going to be a organization? Or did you just like the .org?
|
|
|
|
Aug 29 2008, 03:02 PM
Post
#10
|
|
![]() AIDS at RAVES. ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,386 Joined: Dec 2007 Member No: 598,878 |
|
|
|
|
Aug 29 2008, 06:07 PM
Post
#11
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 2,435 Joined: Feb 2007 Member No: 506,205 |
Topic closed and moved to resolved.
Let me know if you need it reopened. |
|
|
|
![]() ![]() |