View previous topic :: View next topic |
Author |
Message |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Wed Dec 29, 2004 1:21 am Post subject: Everything wrong? |
|
|
Recently today, PHP started saying that I had a line wrong, well I searched for it couldn't find the problem, so I deleted the function. Then it said line wrong in (line), I deleted it and repeated the process a few times, until it starts saying that line 1 is wrong (<?php) and the last line was wrong (?>). Every line of PHP is wrong acording to it. Just me? Or am I missing something? _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Wed Dec 29, 2004 1:25 am Post subject: |
|
|
before we can comment properly we will need to see the script you are referring to.
BTW have you tried reinstalling PHP? _________________ Olly |
|
Back to top |
|
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Wed Dec 29, 2004 1:28 am Post subject: |
|
|
I was making functions in functions.php, no script tied to it really.
Code: |
function Example()
{
echo "This is an example of one of the functions";
}
|
I reinstalled PHP but still the same thing. _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
twirp -
Joined: 30 Dec 2004 Posts: 10 Location: Maryland
|
Posted: Thu Dec 30, 2004 8:54 pm Post subject: |
|
|
How did you install php?
And what php version are you using? _________________ If one's life isn't fully appreciated tel death,
Then what am I still doing here? |
|
Back to top |
 |
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Fri Dec 31, 2004 12:43 am Post subject: |
|
|
PHP 4
And it doesn't matter how it was installed, becuase it quit just out of no where after working from the first day I installed it. But, I used the windows installer for it. _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
|