Hi everyone, i am new to PHP, but not a programmer..,
i got this php code to workout on something on my blog, but it seems that it
gives me the following error:
Parse error: syntax error, unexpected ';' in
/hxxx/x/domains/x.com/public_html/blog/labels.php on line 15
ul class=labels
Em Sexta 30 Março 2007 18:55, Ian escreveu:
Parse error: syntax error, unexpected ';' in
/hxxx/x/domains/x.com/public_html/blog/labels.php on line 15
ul class=labels
?php
1 define('PREFIX', 'http://.x.com/labels');
2
On 3/30/07, Ian [EMAIL PROTECTED] wrote:
Hi everyone, i am new to PHP, but not a programmer..,
i got this php code to workout on something on my blog, but it seems that it
gives me the following error:
Parse error: syntax error, unexpected ';' in
Hehe.., didn't i told i am poor in this, actually, never learn PHP before..
:)
No more such errors anymore thank you Tijnema! =)
Ian
Tijnema ! [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 3/30/07, Ian [EMAIL PROTECTED] wrote:
Hi everyone, i am new to PHP, but not a
Thanks very much for the help, Davi,, no more such errors.. :)
Ian
Davi [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Em Sexta 30 Março 2007 18:55, Ian escreveu:
Parse error: syntax error, unexpected ';' in
/hxxx/x/domains/x.com/public_html/blog/labels.php on line 15
ul
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2002 05:06
Yike, now I wish I hadn't found it:
[Wed Apr 24 19:42:18 2002] [error] PHP Warning: Wrong
datatype for second
argument in call to in_array in beta_up.asp on line 61
57 function ext_valid
assigned it something.
if(!isset($id)) { $id = 0; }
Hopefully that's not too confusingit's hard to explain.
---John Holmes...
- Original Message -
From: Jason Soza [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:06 AM
Subject: RE: [PHP] Parse Error - Help
)
statements later on without having PHP return Undefined Variable
errors. Right?
Thanks for your help, I'll work on my PHP listetiquette.
Jason Soza
- Original Message -
From: 1LT John W. Holmes [EMAIL PROTECTED]
Date: Thursday, April 25, 2002 5:35 am
Subject: Re: [PHP] Parse Error - Help
PHP listetiquette.
Jason Soza
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
- Original Message -
From: 1LT John W. Holmes [EMAIL PROTECTED]
Date: Thursday, April 25, 2002 5:35 am
Subject: Re: [PHP] Parse Error - Help
To stop receiving the messages from undefined variables add this at top
of your files:
error_reporting(55);
Or better yet, keep as you're doing and develop with E_ALL
and fix those E_NOTICE errors correctly! ;)
Regards,
Philip Olson
--
PHP General Mailing List (http://www.php.net/)
To
I'll second that one... always better to code with register_globals = Off and E_ALL
reporting level
IMHO.
# Nathan
- Original Message -
From: Philip Olson [EMAIL PROTECTED]
To: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To stop receiving the messages from undefined variables
Yeah, I think I'd rather fix the errors rather than just not see them.
I'd still know they were there and it'd bug me!
Thanks everyone for your help!
Jason Soza
- Original Message -
From: Nathan [EMAIL PROTECTED]
Date: Thursday, April 25, 2002 9:14 am
Subject: Re: [PHP] Parse Error
it can be anything coming through the URL.
Hope that helps.
---John Holmes...
- Original Message -
From: Jason Soza [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:33 PM
Subject: Re: [PHP] Parse Error - Help? (AGAIN)
Sorry for the length of the code, but I felt I
To stop receiving the messages from undefined variables add this at top
of your files:
error_reporting(55);
Or better yet, keep as you're doing and develop with E_ALL
and fix those E_NOTICE errors correctly! ;)
Well said...don't hide and ignore the warnings...fix them.
---John
-
From: Nathan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 7:15 PM
To: PHP
Subject: Re: [PHP] Parse Error - Help? (AGAIN)
I'll second that one... always better to code with register_globals =
Off and E_ALL
reporting level
IMHO.
# Nathan
- Original Message -
From
Message -
From: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Nathan' [EMAIL PROTECTED]; 'PHP' [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:18 PM
Subject: RE: [PHP] Parse Error - Help? (AGAIN)
You know, I once said the same: better fix the notices and keep the code
clean
]; 'PHP'
[EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:18 PM
Subject: RE: [PHP] Parse Error - Help? (AGAIN)
You know, I once said the same: better fix the notices and keep the
code
clean. But as I've done several performance tests I came to a
conclusion that there's no much difference
: Maxim Maletsky (PHPBeginner.com) [EMAIL PROTECTED]
To: 'Nathan' [EMAIL PROTECTED]; 'PHP' [EMAIL PROTECTED]
Sent: Thursday, April 25, 2002 12:58 PM
Subject: RE: [PHP] Parse Error - Help? (AGAIN)
I would agree that performance-wise, there may be little difference in
how fast a
script runs
any
info from failed scripts like path directories and file names...
---John Holmes...
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 11:19 AM
To: 'Nathan'; 'PHP'
Subject: RE: [PHP] Parse Error - Help? (AGAIN)
You
Can someone take a look at this code for me? I'm pretty new to programming,
but looking at it I think it should work. I'm not saying there aren't plenty
of errors, because I'm sure there are. I'm getting a parse error on the last
line, and I can't see any reason for it. All of my ifs and
: Jason Soza [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 24, 2002 10:20 PM
Subject: [PHP] Parse Error - Help?
Can someone take a look at this code for me? I'm pretty new to
programming,
but looking at it I think it should work. I'm not saying there aren't
plenty
of errors, because
On Thursday 25 April 2002 11:20, Jason Soza wrote:
Can someone take a look at this code for me? I'm pretty new to programming,
but looking at it I think it should work. I'm not saying there aren't
plenty of errors, because I'm sure there are. I'm getting a parse error on
the last line, and I
:22 PM
To: Jason Soza; [EMAIL PROTECTED]
Subject: Re: [PHP] Parse Error - Help?
Copy and paste the parse error into your e-mail. Also, try placing another
} at the end of the code. If you're missing a closing bracket somewhere,
that will take care of it.
Tyler Longren
Captain Jack
!
Jason
-Original Message-
From: Jason Soza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 7:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Parse Error - Help?
Found it - just added another curly brace to the end of the code and it
worked, so I searched up from there and found
Here is another error i keep on getting, this is suppose to send me an email
each time someone enters in my website but i keep on gettong this error
message:
Parse error: parse error in
/home/virtual/ppcu/home/httpd/html/php2/login.php on line 8
I don't see anything wrong, please help.
?
Here is another error i keep on getting, this is suppose to send me an email
each time someone enters in my website but i keep on gettong this error
message:
Parse error: parse error in
/home/virtual/ppcu/home/httpd/html/php2/login.php on line 8
I don't see anything wrong, please help.
?
-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Subject: [PHP] Parse error..help!
X-UIDL: #l6!fL$#!:Bj!n1f!!
Here is another
-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Subject: [PHP] Parse error..help!
X-UIDL: #l6!fL$#!:Bj!n1f!!
Here is another
It should be something like:
function AccessHit()
{
...
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Were you a LISP programmer or something?
Taline Makssabo [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Here is another error i keep on getting, this is suppose to send me an
email
each time someone enters in my website but i keep on gettong this error
Also take off the semicolon of the closing of the function }
Taline Makssabo [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Here is another error i keep on getting, this is suppose to send me an
email
each time someone enters in my website but i keep on gettong
Thanks for all the help guys but one more minor issue, i am not receiving
the email that someone accessed my page...why??
?
Function AccessHit()
{
$NL = \n;
$H = getLastHost();
$R = getLastRef();
$To = [EMAIL PROTECTED];
$Sub = Page Accessed;
]
Subject:[PHP] Parse error help!
Thanks for all the help guys but one more minor issue, i am not receiving
the email that someone accessed my page...why??
?
Function AccessHit()
{
$NL = \n;
$H = getLastHost();
$R = getLastRef();
$To = [EMAIL PROTECTED
33 matches
Mail list logo