Click to See Complete Forum and Search --> : links don't work


orkko
10-12-2003, 03:48 AM
I used dreamweaver to change all my html files to php...
and I fixed all the links, linking to all the right php files as the html linked to each other.

But now I get parse errors on most links and not on all. Can anyone please help me figure this one out, or help me fix it?

The website is www.absolutzero.com (http://www.absolutzero.com)

This is one of the errors I get:
Parse error: parse error in /home/absolutz/www/www/php/roster.php on line 1

pyro
10-12-2003, 09:11 AM
What does your code look like?

orkko
10-12-2003, 01:24 PM
here's the code, thanks

pyro
10-12-2003, 01:45 PM
Unless I missed something, there is no PHP in the code you posted...

orkko
10-12-2003, 02:20 PM
you notied correct, there isn't any php coding, I linked all the files using <a href="">
and some linked correctly (like the button link to rankings), but others didn't.

my root folder has the index.php file, also in the root folder there's a folder named "php"/ where I keep all my other php files that are linked from the main.php that's in the php/ folder, get the picture?

Thanks for the help Pyro.

orkko
10-12-2003, 03:25 PM
Hey Pyro, I think I got it fixed, thanks for the help. Soon I'll have the site working as I want it....


<3

pyro
10-12-2003, 03:33 PM
Glad to hear it... what was the problem?

orkko
10-12-2003, 05:36 PM
I named my htmls to a php extension, without adding any php coding. Somehow the server was trying to execute those php files as if there were php codings,. so I named them all back to html, and I will be adding the php coding only in the areas that I need, and I'll keep the files as html.

I want to have my links appear like this...

www.absolutzero.com/modules.php?name=Roster

instead of like this:

www.absolutzero.com/php/roster.php

I'll be working on it tonight with a friend who'll go through the site with me and help me do the codings, he'll also be giving me classes on php, since really don't know it.

But I wanna thank you for taking the time to help me again.

1 <3

ork