View previous topic :: View next topic |
Author |
Message |
Potato-VS- Registered User
Joined: 16 Jul 2002 Location: Ontario Canada Posts: 1562
|
Posted: Tue Nov 25, 2003 4:34 pm Post subject: PHP troubleshooting |
|
|
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 |
|
|
Vulcan Registered User
Joined: 29 Dec 2001
Posts: 2773
|
Posted: Tue Nov 25, 2003 5:07 pm Post subject: |
|
|
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 |
|
|
Potato-VS- Registered User
Joined: 16 Jul 2002 Location: Ontario Canada Posts: 1562
|
Posted: Tue Nov 25, 2003 6:42 pm Post subject: |
|
|
Its a .php if thats what your wondering.
<TVB>Potato |
|
Back to top |
|
|
Vulcan Registered User
Joined: 29 Dec 2001
Posts: 2773
|
Posted: Tue Nov 25, 2003 6:59 pm Post subject: |
|
|
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 |
|
|
Potato-VS- Registered User
Joined: 16 Jul 2002 Location: Ontario Canada Posts: 1562
|
Posted: Tue Nov 25, 2003 7:48 pm Post subject: |
|
|
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 |
|
|
Potato-VS- Registered User
Joined: 16 Jul 2002 Location: Ontario Canada Posts: 1562
|
Posted: Wed Nov 26, 2003 3:38 pm Post subject: |
|
|
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 |
|
|
|