On Friday, June 7, 2002 at 7:08:00 PM, you wrote:
Lines 29, 30, and 31
//29
$headers = $from . \r\n . $bcc . \r\n
//30 - The Next Line is where I'm getting the parse Error at:
mail ($to, $setting_site_name, $mailpost, $headers) or $emailsuccess
=Failure sending email.;
//31
if
?
require 'common.php';
function DisplayErrMsg($message)
{
printf (blockquoteblockquoteblockquoteh3fontcolor=\#cc\
%s/font/h3/blockquote/blockquote/blockqoute\n,$message);
}
function authenticateUser($user, $password)
{
global $host, $httphost, $user_db, $password_db, $db,
On Wednesday 29 May 2002 19:17, Webby wrote:
When starting a new topic please do not reply to an existing post. Start a new
one.
**/ when i run this script it's say parse error in this line 'i don't what
is wrong with this line
if (($row = mysql_fetch_array($result))
I get a parse error on this line
$query = "SELECT * FROM news ORDER BY id DESC LIMIT
1";
I believe that it is an error in the SQL
statement
Thanks in advance
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi all,
I would say as Jason, and I would add a little remark also even if that doesn't
seem to be the pb you have :
if (($row = mysql_fetch_array($result)) ($password==$row[password])
($password ! = ))
I hope it helps
SR
Jason Wong a écrit :
On Wednesday 29 May 2002 19:17, Webby wrote:
Look for errors in the line above this one. PHP doesn't know what SQL is...it's just a
string to PHP.
---John Holmes...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 9:03 AM
Subject: [PHP] Parse Error(newbie)
I get
[EMAIL PROTECTED] wrote:
$query = SELECT * FROM news ORDER BY id DESC LIMIT 1;
I believe that it is an error in the SQL statement
Nope, looks fine. Show us the previous few lines, the error is probably in
those somewhere.
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
I get a parse error on this line
$query = SELECT * FROM news ORDER BY id DESC LIMIT 1;
I believe that it is an error in the SQL statement
Nothing wrong with that. Let's have the whole error msg and
-
From: Nick Wilson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 11:08 PM
Subject: Re: [PHP] Parse Error(newbie)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
I get a parse error on this line
$query = SELECT * FROM
On Wednesday 29 May 2002 21:13, [EMAIL PROTECTED] wrote:
Here is the function:
function print_new_story(){
$query = SELECT * FROM news ORDER BY id DESC LIMIT 1;
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
for ($i=0; $i $num_results; $i++)
{
$row =
: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 11:11 PM
Subject: Re: [PHP] Parse Error(newbie)
On Wednesday 29 May 2002 21:13, [EMAIL PROTECTED] wrote:
Here is the function:
function print_new_story(){
$query = SELECT * FROM news ORDER BY id DESC LIMIT 1
mysql_query(delete from conf_event where time ( time() );
You're missing the ending there.
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 29. toukokuuta 2002 16:20
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Parse Error(newbie)
Line 81 is $query
]
Subject: Re: [PHP] Parse Error(newbie)
Line 81 is $query.
I showed it in my first email.
I suspect this line is the one causing the trouble(It is about four
lines above the start of the function and is the only previous PHP
statement) mysql_query(delete from conf_event where time ( time
Notepad at the moment as I can't change the settings of my computer due to
lack of privilages
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 11:26 PM
Subject: Re: [PHP] Parse Error(newbie)
On Wednesday 29 May 2002 21:22
On Wednesday 29 May 2002 21:45, [EMAIL PROTECTED] wrote:
Notepad at the moment as I can't change the settings of my computer due to
lack of privilages
You have my sympathy :)
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
I know it is probably something obvious but the following gives me a
parse error and as a newbie I am having trouble locating it.
$query = select * from news WHERE id = $_get['id'];
A lot of people have answered this already, but just for a
, 2002 2:18 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Parse Error(Newbie)
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
I know it is probably something obvious but the following gives me a
parse error and as a newbie I am having trouble locating it.
$query = select
try this:
$query = select * from news WHERE id = '$_get['id']';
the double quote right before the $ is ending the string, from that point
on everything is an error.
Matt
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
I know it is probably something obvious but the following gives me a parse
Another thing you may want to try is the following line:
$query = select * from news WHERE id = ' . $_get['id'] . ';
Matt
On Mon, 27 May 2002 [EMAIL PROTECTED] wrote:
I know it is probably something obvious but the following gives me a parse error and
as a newbie I am having trouble
I know it is probably something obvious but the
following gives me a parse error and as a newbie I am having trouble locating
it.
$query = "select * from news WHERE id =
"$_get['id']"";
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error(Newbie)
I know it is probably something obvious but the following gives me a parse
error and as a newbie I am having trouble locating it.
$query = select * from news
the line the message says it is..
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 27 May 2002 3:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error(Newbie)
I know it is probably something obvious but the following gives me a parse
error
-Original Message-
I know it is probably something obvious but the following gives me a
parse error and as a newbie I am having trouble locating it.
$query = select * from news WHERE id = $_get['id'];
-Original Message-
Any time you end up with two characters together is a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then [EMAIL PROTECTED] declared
I get a parse error on line 114 can anyone see the problem?
Sorry if it is something obvious :}
for ($i=0; $i $num_results; $i++)
110. {
111. $row = mysql_fetch_array($result);
112. echo 'a
why now just write:
for ($i=0; $i $num_results; $i++) {
$row = mysql_fetch_array($result);
echo a href=\.$row['url'].\link text/a;
-Original Message-
From: Nick Wilson [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Parse Error
On jeudi, mai 23, 2002, at 01:27 , Nick Wilson wrote:
I get a parse error on line 114 can anyone see the problem?
Sorry if it is something obvious :}
for ($i=0; $i $num_results; $i++)
110. {
111. $row = mysql_fetch_array($result);
112. echo 'a href=';
113. echo $row['url'];
114. echo
Hey guys, i'm writing this guestbook script for my site, and i'm getting a
random parse error where i think everything is normal, it gives it on line 26
which is
echo Your entry will be posted!;
my script follows
Jule
--SCRIPT--
?php
$Guestbook[dateadd] = date(F j, Y H:i:s);
You're missing a closing quote on the assignment for $Query2.
Come on people, keep your eyes open. This is basic stuff. Doesn't take
any special genius to count quotes and braces.
miguel
On Tue, 30 Apr 2002, Jule wrote:
Hey guys, i'm writing this guestbook script for my site, and i'm
Looks like your problem is on line 24. See below.
-Steve
On Tuesday, April 30, 2002, at 12:48 PM, Jule wrote:
Hey guys, i'm writing this guestbook script for my site, and i'm
getting a
random parse error where i think everything is normal, it gives it on
line 26
which is
echo Your
Thanks for that, yeah i should be more carefull before going to the list..
i'll watch out for it next time.
Jule
On Tuesday 30 April 2002 13:54, Miguel Cruz wrote:
You're missing a closing quote on the assignment for $Query2.
Come on people, keep your eyes open. This is basic stuff. Doesn't
]');
$Query2 = INSERT into $TableName2 values('0', '$Guestbook[dateadd]'.
'$Guestbook[name]', '$Guestbook[email]');
- Original Message -
From: Jule [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 12:48 PM
Subject: [PHP] parse error
Hey guys, i'm writing this guestbook
Message -
From: Jule [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 30, 2002 12:48 PM
Subject: [PHP] parse error
Hey guys, i'm writing this guestbook script for my site, and i'm getting a
random parse error where i think everything is normal, it gives it on line
26
which
I have a PHP script which gets a parse error on the last line (a
blank line after the last ?). I really have no idea what could
cause this. I checked for all my closing brackets.
=
Question
__
Do You Yahoo!?
Yahoo! Health - your guide to
That's the only likely solution -- missing }'s.
Unless you're working on a mac, in which case the unix machine might be
reading your entire file as one line, hence not giving you an acurate line
for the error.
I do my editing in BBEdit, which the option of saving all files in unix or
windows or
On Tuesday 30 April 2002 12:40, Ironfroggy wrote:
I have a PHP script which gets a parse error on the last line (a
blank line after the last ?). I really have no idea what could
cause this. I checked for all my closing brackets.
Check for missing braces } semicolons ;, they're the usual
Check again. You're missing a closing bracket or an ending quote...
something along those lines.
---John Holmes...
-Original Message-
From: Ironfroggy [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 9:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] parse error after ?
I have
-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
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi,
I set my own error handler as described in the documentation.
It seems to work, as I can catch NOTICE errors.
The problem is that PARSE errors do not display anywhere, nor are
catched by my error handler. The browser
On Saturday 20 April 2002 01:24, Pedro Garre wrote:
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi,
I set my own error handler as described in the documentation.
It seems to work, as I can catch NOTICE errors.
The problem is that PARSE errors do not display
Try setting error_reporting = E_ALL ~E_NOTICE, or just E_ALL, in php.ini.
Kirk
-Original Message-
From: Pedro Garre [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 11:25 AM
To: php-general
Subject: [PHP] parse error= doc contains no data
I set my own error handler
~E_NOTICE, or just E_ALL, in php.ini.
Kirk
-Original Message-
From: Pedro Garre [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 11:25 AM
To: php-general
Subject: [PHP] parse error= doc contains no data
I set my own error handler as described in the documentation
Sorry, I missed the main point of your original question. No more ideas
here.
-Original Message-
From: Pedro Garre [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 3:23 PM
To: php-general
Subject: Re: [PHP] parse error= doc contains no data
*This message was transferred
Hello,
This is my first question to the list, I have included as much
information as I feel will help someone find a solution to my problem.
Server: RedHat Linux 7.0, Kernel 2.2.16-22
PHP Version: 4.1.0
Apache Version: 1.3.12
Class name: class.Htpasswd.php3
Problem
I have just started using
On Thursday 11 April 2002 14:30, Andrew Schoenherr wrote:
[snip]
Problem
I have just started using classes, downloaded from www.thewebmasters.net
web site. I am working on user authentication and I am getting a
parse error when the page loads. Only since I started using the
class has this
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code:
$query = SELECT DATE_FORMAT( exp_date, %W, %M
%d, %Y) AS thedate from tifrequest where
] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code:
$query = SELECT DATE_FORMAT( exp_date, %W, %M
%d, %Y
www.SpryNewMedia.com
-Original Message-
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
Sent: Monday April 1, 2002 2:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get
He's not including the ; in the SELECT statement. The ; you're seeing is at
end of the PHP statement
-Original Message-
From: Matt Friedman [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 2:02 PM
To: 'ROBERT MCPEAK'; [EMAIL PROTECTED]
Subject: RE: [PHP] parse error, mysql select
: Monday, April 01, 2002 1:55 PM
To: [EMAIL PROTECTED]
Subject: [PHP] parse error, mysql select
When I execute from browser I get a parse error, but when I enter the
query directly into a MySQL command prompt I get a successful return.
Can anybody see the problem with this code
Anyone have any suggestions for getting better reporting on a generic Parse
Error? Code is falling to the end of the script, and I can't find a problem
anywhere.
I looked on the PHP site for error reporting functions, but apparently they
do not handle Parse Errors.
Thanks,
-Mike
--
PHP
On Mon, 18 Mar 2002, Mike At Spy wrote:
Anyone have any suggestions for getting better reporting on a generic
Parse Error? Code is falling to the end of the script, and I can't find
a problem anywhere.
I'd guess you left a curly brace open. Try opening the file in an editor
that lets you
T2P 4L4
(403) 781-4948
-Original Message-
From: Mike At Spy [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 10:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error Suggestions?
Anyone have any suggestions for getting better reporting on a generic Parse
Error? Code is falling
On Mon, 18 Mar 2002, Mike At Spy wrote:
Anyone have any suggestions for getting better reporting on a generic
Parse Error? Code is falling to the end of the script, and I can't find
a problem anywhere.
I'd guess you left a curly brace open. Try opening the file in an editor
that lets
Not sure exactly what your code is but if you try to pass a literal where a
reference type parameter is defined this produces a blank page.
function test( $var ) { echo $var }
if you call with test( hello ) you get NO output.
Ben
At 18:01 18/03/2002, Mike At Spy wrote:
On Mon, 18 Mar
On Tuesday 19 March 2002 02:01, Mike At Spy wrote:
On Mon, 18 Mar 2002, Mike At Spy wrote:
Anyone have any suggestions for getting better reporting on a generic
Parse Error? Code is falling to the end of the script, and I can't
find a problem anywhere.
I'd guess you left a curly
Hy,
When I try to see my page I have this message and I
don't know why.
If someone can explain to me.
Thank You
Parse error: parse error, expecting `')'' in
liensfr.php on line 17
Source code :
htmlheadLINK
REL="stylesheet" HREF="mmenu.css"SCRIPT LANGUAGE="javascript"
For ($i = 1; $i ($nbline+1); $i++) { // Line 17
not :
For ($i = 1; $i ($nbline+1); i++) { // Line 17
hope it helps you
SR
Jérome Moisy a écrit :
Hy,When I try to see my page I have this message and I don't know
why.If someone can explain to me.Thank You Parse error: parse
Thanks Jan!!! It Works
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if I write directly localhost/myphp/resmigoster.php on his browser
it response
Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 1
Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 3
if I write directly
On Tue, 12 Mar 2002, Ceyhun Güler wrote:
than the script works like mine
but I wonder to disable Warning: Undefined index: dir in
c:\inetpub\wwwroot\kocak\resimgoster.php on line 1
response if someone directly enter localhost/myphp/resmigoster.php I want
to say him that Access Denied Or
On Tue, 2002-03-12 at 12:32, Ceyhun Güler wrote:
if I write directly localhost/myphp/resmigoster.php on his browser
it response
Warning: Undefined index: dir in c:\inetpub\wwwroot\kocak\resimgoster.php on
line 1
Warning: Undefined index: res in c:\inetpub\wwwroot\kocak\resimgoster.php on
? $dir = $HTTP_GET_VARS[dir];
$dir = str_replace( ,/,$dir);
$res = $HTTP_GET_VARS[res];
?
title?=$res;?/title
img src=?=$dir;?/?=$res;?.jpg
/body
My code is running now until if a link comes trough here like
resimgoster.php?dir=main products imagesres=pic01
but if you write resimgoster.php to
Can AnyOne Help?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please try the following and let us know what the results are.
title? echo $res; ?/title
img src=? echo $dir; ?/? echo $res; ?.jpg
/body
- Original Message -
From: Ceyhun Güler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 11, 2002 12:41 AM
Subject: Re: [PHP] parse
Parse error: parse error in c:\inetpub\wwwroot\kocak\resimgoster.php on line
3
How can I print my own message like sorry not avaiable!
for all error happening in my php file
but I want to make it only for this file
I don' t want to configure My IIS
My script was which Michael Kimsal was
set);
If (!isset($r)) echo $r wasn't set;
Hope this helps,
Hugh
- Original Message -
From: Ceyhun Güler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, March 10, 2002 12:05 PM
Subject: [PHP] parse error? how can I print spesific message for all error
mesage
Parse error: parse error
Does anyone know how line numbers are figured? I get errors like the
following:
Parse error: parse error in
/home/sites/site104/users/walker/web/admin/_fileutils.php on line 74
Is PHP preprocessing the code to remove comments and white space? The
larger my code file, the more inaccurate the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Steven Walker declared
Does anyone know how line numbers are figured? I get errors like the
following:
Parse error: parse error in
/home/sites/site104/users/walker/web/admin/_fileutils.php on line 74
Is PHP preprocessing
my take on it is that php reports the line it was on when it
encountered the error with isn't the same as where you've made your
mistake.
That sometimes is the case, depending on the error/omission. However, in
my case the error is reported on a line number -before- the actual line
number
Ok I got this error:
Parse error: parse error, expecting `','' or `';'' in
c:\www\hosted\witakr\index.php on line 20
this is line 20:
print (table border=0 align=center width=100% cellspacing=0
cellpadding=0);
where?
--
Jason Whitaker
--
PHP General Mailing List (http://www.php.net/)
To
What's line 19? Or, better yet, what's the previous statement? (it may
span on several lines).
Bogdan
Jason Whitaker wrote:
Ok I got this error:
Parse error: parse error, expecting `','' or `';'' in
c:\www\hosted\witakr\index.php on line 20
this is line 20:
print (table border=0
Ok Jason,
Parse error: parse error, expecting `','' or `';'' in
c:\www\hosted\witakr\index.php on line 20
this is line 20:
print (table border=0 align=center width=100% cellspacing=0
cellpadding=0);
where?
Possibly an 'imbalance' starting higher up the code, eg no closing
I'd definitely check Line 19. You probably forgot a ;
Matthew Walker
Ecommerce Project Manager
Mountain Top Herbs
-Original Message-
From: Jason Whitaker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 4:01 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse Error
Ok I got
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello all,
I am getting the following error trin to use the mysql_connect
command in a script:
Parse error: parse error in /usr/home/rclark/phptest/addrecord.php on
line 19
Here is line 19:
$connection = mysql_connect(localhost,phpkid,d0wn) or
Check for a missing line or block terminator just above line 19.
Kirk
-Original Message-
From: Ron Clark [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Parse error
I am getting the following error trin to use
Hi,
What do i wrong? I get this err:
Parse error: parse error in /test/put_file.php on line 14
put_file.php begin-
?php
if ($submit) {
include('include.php');
$pos = strrpos($file, \);
if ($pos === FALSE) {
$pos = strrpos($file, /);
if ($pos === FALSE) {
, 2001 11:26 AM
Subject: [PHP] Parse error: parse error in/test/put_file.php on line 14???
Hi,
What do i wrong? I get this err:
Parse error: parse error in /test/put_file.php on line 14
put_file.php begin-
?php
if ($submit) {
include('include.php');
$pos = strrpos
Maybe you could give a little more info on what
the parse error actually says?
On Thu, 2001-12-06 at 06:51, Oosten, Sjoerd van wrote:
I have a question about require...
I have a session_start() on top of every page and an if-else construction.
?
session_start()
if ($SessieEIA-Login ==
: (076) 5 730 730
4817 ZH BREDA Telefax: (076) 5 877 757
___
-Oorspronkelijk bericht-
Van: Andrew Forgue [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 6 december 2001 16:13
Aan: Oosten, Sjoerd van
CC: [EMAIL PROTECTED]
Onderwerp: Re: [PHP] parse error
Parse error: parse error in /home/sites/site139/web/EIA/sessionstart.php
on
line 10
It's strange that line number 10 doesn't exist!
Do you have an include statement in sessionstart.php?
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key
Forgue'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP] parse error when requiring
Parse error: parse error in
/home/sites/site139/web/EIA/sessionstart.php on
line 10
It's strange that line number 10 doesn't exist!
On Thu, 2001-12-06 at 06:51, Oosten, Sjoerd van wrote:
I have a question
You forgot the semicolon (;) after session_start()
This works fine, but now i made the files sessionstart.php and bottom.php
sessionstart.php
--
?
session_start()
if ($SessieEIA-Login == 1)
{
?
bottom.php
--
? }
else {
201 - 300 of 366 matches
Mail list logo