FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
PHP troubleshooting

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> General Ramblings
View previous topic :: View next topic  
Author Message
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Tue Nov 25, 2003 4:34 pm    Post subject: PHP troubleshooting Reply with quote

Ok, I know for a fact that my webhost supports PHP and that I am saving the file correctly - though I dont know why this isnt working. This is a fairly basic script - as taken from a book - and should be working. Would anyone know why it isnt?

Quote:
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.orc/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html"; charset=iso-8859-1" />
<title>PHP Programming Demos</title>
</head>

<body>
<?php

echo 'This is my second PHP script!';

?>
</body>
</html>


Thanks,
<TVB>Potato
Back to top
View user's profile Send private message Send e-mail
Vulcan
Registered User


Joined: 29 Dec 2001

Posts: 2773

PostPosted: Tue Nov 25, 2003 5:07 pm    Post subject: Reply with quote

is the file saved in the right format?
_________________
I need to make a sig, but I don't have the time. Maybe I will eventually.
Back to top
View user's profile Send private message
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Tue Nov 25, 2003 6:42 pm    Post subject: Reply with quote

Its a .php if thats what your wondering.

<TVB>Potato
Back to top
View user's profile Send private message Send e-mail
Vulcan
Registered User


Joined: 29 Dec 2001

Posts: 2773

PostPosted: Tue Nov 25, 2003 6:59 pm    Post subject: Reply with quote

That code works on my webspace
_________________
I need to make a sig, but I don't have the time. Maybe I will eventually.
Back to top
View user's profile Send private message
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Tue Nov 25, 2003 7:48 pm    Post subject: Reply with quote

It works . The show file doesnt show the actual script I gotta access it from my browser to get it.

<TVB>Potato
Back to top
View user's profile Send private message Send e-mail
Potato-VS-
Registered User


Joined: 16 Jul 2002
Location: Ontario Canada
Posts: 1562

PostPosted: Wed Nov 26, 2003 3:38 pm    Post subject: Reply with quote

Oh another thing, I want to align two columns of tables on the website's main page, I dont know how to do this though. Does anyone know how? I want it to be like theville's main page except two columns instead of one.

<TVB>Potato
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    The Ville.org Half-Life Gaming Community Forum Index -> General Ramblings All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group