Everything wrong?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Glitch2082
-


Joined: 02 Dec 2004
Posts: 194

PostPosted: Wed Dec 29, 2004 1:21 am    Post subject: Everything wrong? Reply with quote

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 View user's profile Send private message Send e-mail
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Wed Dec 29, 2004 1:25 am    Post subject: Reply with quote

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 View user's profile Send private message
Glitch2082
-


Joined: 02 Dec 2004
Posts: 194

PostPosted: Wed Dec 29, 2004 1:28 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
twirp
-


Joined: 30 Dec 2004
Posts: 10
Location: Maryland

PostPosted: Thu Dec 30, 2004 8:54 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Glitch2082
-


Joined: 02 Dec 2004
Posts: 194

PostPosted: Fri Dec 31, 2004 12:43 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
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 phpBB Group