ok this may seem like a real dumb question since I've already coded everything and got it all working.
BASICALLY:
I have an online weekly comic that I want to post online.
I started off by getting hosting, learning GoLive, and creating 2 pages (a homepage index.html and a cast page cast.html)
I soon realized that to build an archive I would have to use PHP.
I built a database containing issue numbers links to comic images and the comic title (which I place in the head as the title).
I then connected to this database and coded the appropriate PHP to make a site that starts with the latest comic and has controls to go to the first/previous/next/last comics as well as disabling the previous and next buttons when at the first and last comics respectively.
I created this page in GoLive and it is called testnav.php
NOW...I have everything working and I'm pretty much good to go, yay for me...
but I basically want to make my testnav.php my homepage, but I can't because its a php file and my homepage has to be index.html.
what do I do? do I basically copy and paste all my source code from testnav.php into index.html? I dont think that would work (and therefore I'm not goign to ruin my homepage by testing it out).
how would I get my index.html page to do exactly what my testnav.php page is doing, but also link it to the php file I created?
ok, let me put it into term that I understand...
when people come to my site www.mysite.com, I want the address bar to say:
www.mysite.com
and have it pull up my latest comic (just like my testnav.php)
once people actually start going through comics, I anticipate the address bar to look like this:
www.mysite.com/testnav.php?cid=2
where cid would be teh comic id (basically the issue number)
if this STILL doesnt make sense, I've been using the site www.questionablecontent.net as a sort of reference point (basically all comic sites like this use the same php code)
ANY help would be WONDERFUL
if need be, the links to my site are:
http://andrew.ulmb.com/ this is the homepage I made as index.html
http://andrew.ulmb.com/testnav.php this is the php I made
EDIT: or is it as easy as saving my index.html as a index.php then deleting the index.html and putting in the appropriate code from testnav.php into index.php?
index is a properly laid out while testnav is just a test page, otherwise I would just rename testnav.php to index.php and delete index.html....would this work?!?!
Thanks,
andrew