Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread John Platte
I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get parse errors on line 1 unless I remember to set line breaks to Unix \n (rather than Mac and Windows line endings, which use different characters). You may be running into a similar problem. Jimmy Lantz wrote: Hi, I have a

Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread Jimmy Lantz
Yes, thank you you're right this is exactly what it was, I used Dreamweaver on a mac to edit the files, but now if I encounter parse error I convert them with BBEdit. Thank you. Jimmy Lantz I use BBEdit on the Mac, uploading PHP code to a Unix server, and I get parse errors on line 1 unless I

[PHP] Parse error: parser stack overflow in...

2001-04-26 Thread Christoph Hunscher
... perm.inc on line 56 Hi all, this message some ppl get when they try to connect to a mysql database. i use php3 with phplib. the problem is, when i try it over lan and with dialin over isdn, there are no probs with win95, win98, winme and nt4.0 clients. neither with ms-ie nor with

[PHP] Parse Error for a weirdo!

2001-04-24 Thread ouarz.net
Hiya, I am not a weirdo (at least I think so) ;) Considere this (Notice the line number): === Parse error: parse error in test_the_bug.php on line 1 ===

Re: [PHP] Parse Error for a weirdo!

2001-04-24 Thread Yasuo Ohgaki
Are you using short tag? or asp tag? What happen if you use ?php ?? Regards, -- Yasuo Ohgaki ouarz.net [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hiya, I am not a weirdo (at least I think so) ;) Considere this (Notice the line number):

[PHP] Parse error - script help.

2001-04-16 Thread Dddogbruce \(@home.com\)
Ok, I know it's messy - no, I don't care. :P Parse error: parse error in C:/XITAMI/owen/website/tss/guestbookSG.php on line 43 html head titlethe southern side : owen : mmmHm/title style !-- A:hover { color:rgb(215,152,1); cursor:hand-il; } A:link { font-style:normal; font-weight:normal;

Re: [PHP] Parse error - script help.

2001-04-16 Thread Brian Clark
Hi Dddogbruce, @ 10:58:47 PM on 4/16/2001, Dddogbruce (@home.com) wrote: Ok, I know it's messy - no, I don't care. :P Parse error: parse error in C:/XITAMI/owen/website/tss/guestbookSG.php on line 43 ... ? $space = " "; if( $submitfrm ) { echo "your entry will be added shortly.";

Re: [PHP] Parse error - script help.

2001-04-16 Thread Brian Clark
Hi Brian, @ 11:14:55 PM on 4/16/2001, Brian Clark wrote: fwrite( $fp, "fwrite( $fp, "table border=\"0\" cellpadding=\"0\" ^^^ Remove the quotation mark. Duh, Brian. You have an extra fwrite($fp) in there. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO

[PHP] Parse error

2001-04-10 Thread Mike
Im getting a "missing )" error on line 77 but cant seem to find it.Am I missing something else thats causing it? for ($i =1;$i=15;$i++) { if(!(isset(${'R'.$i.'P'};)))// line 77 { ${'R'.$i.'P'};="NULL"; } } Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] Parse error

2001-04-10 Thread elias
I think it is because you put a ';' in the isset() after the '}' i believe if you remove it it will work. -elias http://www.kameelah.org/eassoft ""Mike"" [EMAIL PROTECTED] wrote in message 9av0j6$h2k$[EMAIL PROTECTED]">news:9av0j6$h2k$[EMAIL PROTECTED]... Im getting a "missing )" error on line

[PHP] Parse error after end of file

2001-04-09 Thread DRN
Hi, I am trying to include a header to my document, I my problem is I keep getting a parse error on the line after the header ends. I cannot see what is causing this, can someone see what I have done wrong, the code is below. Cheers for your help, Donald html head titleAccessible Computers

Re: [PHP] Parse error after end of file

2001-04-09 Thread Alexander Wagner
titleAccessible Computers ?="$page_title"?/title DEFANGED_meta name=keywords content="stuff" DEFANGED_meta name=description content='? if ($description) { echo "$description"; } else { echo "Accessible Computers"; ?' Looks like you're missing a } here. regards Wagner

Re: [PHP] Parse error after end of file

2001-04-09 Thread Kurth Bemis
At 03:59 PM 4/9/2001, DRN wrote: you need to make sure that ALL your curly brackets are closed and that all lines that require semi-colons have them ~kurth Hi, I am trying to include a header to my document, I my problem is I keep getting a parse error on the line after the header ends. I

Re: [PHP] Parse error after end of file

2001-04-09 Thread DRN
Kurth Bemis [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | At 03:59 PM 4/9/2001, DRN wrote: | you need to make sure that ALL your curly brackets are closed and that all | lines that require semi-colons have them | | ~kurth D'oh, I don't know how I didn't

[PHP] parse error

2001-04-08 Thread kenny.hibs
I am getting a parse error in the following line of code ** foreach ($messagearray as $value) { //print("strlen: " . strlen($value)); if (strlen($value) = 22) { ? script alert('Your post is too long...use the forum for longer stories.') /script ?

Re: [PHP] parse error

2001-04-08 Thread Joe Stump
Worked for me, but I had to make sure that $messagearray was in fact an array. So wrap that block of code in this: if(is_array($messagearray) sizeof($messagearray)) { } --Joe On Mon, Apr 09, 2001 at 01:13:00AM +0100, kenny.hibs wrote: I am getting a parse error in the following line

Re: [PHP] parse error

2001-04-08 Thread Philip Olson
Three questions : 1. What is the parse error. 2. What line corresponds with the parse error. 3. What are the two lines above the line in #2 Regarding your code, it works (no parse error) for me. Two possible issues/guesses/warnings are : a. Foreach is php4+ (see manual for

[PHP] parse error inside comment????

2001-03-20 Thread Jaxon
Hi Gurus - any suggestions here would be welcome, I'm baffled. I have a file that does this: ? require("function_definitions.php"); //some more stuff here, calling functions, etc. ? but when I call this file, it gives me a parse error in function_definitions.php. No biggie, so I start

Re: [PHP] parse error inside comment????

2001-03-20 Thread andrew
rly brace) just *above* the line in the error message. Kirk -Original Message- From: Jaxon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 20, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: [PHP] parse error inside comment To summarize, a parse error is showing up on a file b

[PHP] Parse all .htm files?

2001-03-14 Thread Jorge Alvarez
Hi there, I'm using PHP and Personal Web Server in a Windows 98 PC. What should I do to make PHP parse all .htm files and not only those with the .php extension? Many thanks in advance, Jorge Alvarez -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] parse error on line after last one???

2001-02-27 Thread Jaxon
Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does this actually mean anything, or is it

Re: [PHP] parse error on line after last one???

2001-02-27 Thread Chris Aitken
At 06:31 PM 27/02/2001, Jaxon wrote: Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does

Re: [PHP] parse error on line after last one???

2001-02-27 Thread Simon Garner
From: "Jaxon" [EMAIL PROTECTED] Hi all, Can anyone tell me why Im getting an unhelpful error when trying to pull up a file? The index.php Im calling is including a functions file functions.inc.php Im getting a parse error on line 144 but functions.inc.php only has 143 lines...! does

[PHP] parse error driving me nuts ...

2001-02-15 Thread Andrew
hi, can anyone help me spot the parse error? It's throwing up on the first "if" line, and for the life of me I cannot find it! :) tia, andrew ?php include("db_connect_params.inc"); $sql="select path from PHOTO where pid =1"; $link_id = mysql_connect($host, $usr, $pass); $result =

RE: [PHP] parse error driving me nuts ...

2001-02-15 Thread Jon Haworth
Instead of if ((mysql_num_rows($result)) = 1) try if ((mysql_num_rows($result)) == 1) HTH Jon -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: 15 February 2001 15:34 To: [EMAIL PROTECTED] Subject: [PHP] parse error driving me nuts ... hi, can anyone help me spot

Re: [PHP] parse error driving me nuts ...

2001-02-15 Thread Ifrim Sorin
Try to use == instead of = Sorin Ifrim - Original Message - From: Andrew [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 15, 2001 5:33 PM Subject: [PHP] parse error driving me nuts ... hi, can anyone help me spot the parse error? It's throwing up on the first

Re: [PHP] parse error driving me nuts ...

2001-02-15 Thread John Vanderbeck
hi, can anyone help me spot the parse error? It's throwing up on the first "if" line, and for the life of me I cannot find it! :) tia, andrew ?php include("db_connect_params.inc"); $sql="select path from PHOTO where pid =1"; $link_id = mysql_connect($host, $usr, $pass); $result =

RE: [PHP] parse error driving me nuts ...

2001-02-15 Thread Andrew
PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: [PHP] parse error driving me nuts ... Instead of if ((mysql_num_rows($result)) = 1) try if ((mysql_num_rows($result)) == 1) HTH Jon -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: 15 February 2001 15

Re: [PHP] parse error driving me nuts ...

2001-02-15 Thread John Vanderbeck
Jon, John, Ifrim, the == worked ... thank you!! gotta read up on it now :) Cameron, dropping the extra () did not work :( thanks for the suggestions folks! andrew Remember that '=' means assign what is on the right to what is on the left, whereby '==' means is what is on the left equal

Re: [PHP] parse speed vs require speed

2001-02-14 Thread Michael McGlothlin
, Maxim Maletsky -Original Message- From: Soma Interesting [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 5:16 AM To: [EMAIL PROTECTED] Subject: [PHP] parse speed vs require speed I'm wondering if I should organize the functions for my project into a single

[PHP] parse speed vs require speed

2001-02-13 Thread Soma Interesting
I'm wondering if I should organize the functions for my project into a single large file and have only one include/require, or break the code out into separate function library files and use a number of includes/requires. With a single large function library I'm guessing PHP would parse this

Re: [PHP] parse speed vs require speed

2001-02-13 Thread Chris Lee
Accoring to Microsofts book 'Rapid Development' (dont knock it, excellent book) says the average human can not keep track of more then 500 lines of code at once, I beleive it. I break my code up into sections smaller then 500 lines, keeps the code better. load time because files are distributed

RE: [PHP] parse speed vs require speed

2001-02-13 Thread Maxim Maletsky
of your code having your software more dynamic. Cheers, Maxim Maletsky -Original Message- From: Soma Interesting [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 14, 2001 5:16 AM To: [EMAIL PROTECTED] Subject: [PHP] parse speed vs require speed I'm wondering if I should organize

[PHP] Parse HTML Block

2001-02-12 Thread Mark Green
Hi Guys, Im looking for a way to parse a value from between two tags somethingThis is what i want to return/something Basically its simply a block of HTML from within a large HTML file. Speed is definately a consideration in any solution. Any ideas? Cheers, Mark -- If I was a signature

RE: [PHP] Parse HTML Block

2001-02-12 Thread Thor M. Steindorsson
rom: Mark Green [mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 6:06 PM To: PHP General Mailing List Subject: [PHP] Parse HTML Block Hi Guys, Im looking for a way to parse a value from between two tags somethingThis is what i want to return/something Basically its simply a block of HTML

Re: [PHP] Parse WML to PHP?

2001-02-08 Thread Chris Adams
On 8 Feb 2001 06:24:20 -0800, Kato Strandjord [EMAIL PROTECTED] wrote: How is it possible to parse a WML strin variable with a value="SO480", and parse over to a PHP strin variabl , so you can use it to in a PFP function. I get a error messages in M3gate WAP emulator, an UP SDK emulator telling

Re: [PHP] Parse error on blank line...

2001-02-06 Thread Toby Butzon
a } or a ; is missing. Seriously. - Original Message - From: "Jackson, Michael" [EMAIL PROTECTED] To: "'johnny p.'" [EMAIL PROTECTED]; "April" [EMAIL PROTECTED]; "Jackson, Michael" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 05

Re: [PHP] Parse error on blank line...

2001-02-05 Thread April
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 05, 2001 4:23 PM Subject: [PHP] Parse error on blank line... Hello all, I hope this doesn't turn out to be a stupid question, but we will see... I am getting parse errors on blank lines. Not commented, but totally blank. And

Re: [PHP] Parse error on blank line...

2001-02-05 Thread April
argh, nm, I'm an idiot. - Original Message - From: "April" [EMAIL PROTECTED] To: "Jackson, Michael" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 05, 2001 4:31 PM Subject: Re: [PHP] Parse error on blank line... You missed a } in there. Inside of

RE: [PHP] Parse error on blank line...

2001-02-05 Thread johnny p.
: Monday, February 05, 2001 4:31 PM To: Jackson, Michael; [EMAIL PROTECTED] Subject: Re: [PHP] Parse error on blank line... You missed a } in there. Inside of that else, you have an if, but you never close the else. 190 showmainscreen(); 191} 192 should be 190

RE: [PHP] Parse error on blank line...

2001-02-05 Thread Jackson, Michael
PROTECTED] Subject: RE: [PHP] Parse error on blank line... I'm not sure where it is, but I agree that you are missing a curly brace somewhere. Take a break from your code for a bit, come back to it, and start matching braces. I suggest getting a coffee or some tea. johnny p. -Original

Re: [PHP] Parse error on blank line...

2001-02-05 Thread April
PROTECTED]; "Jackson, Michael" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, February 05, 2001 4:48 PM Subject: RE: [PHP] Parse error on blank line... Even if I was missing a brace, doesn't it seem odd that it would always give me a syntax error on the same line? It's a

[PHP] parse form input

2001-01-30 Thread Robert
variables passed from form = part=68030quan=500I=xpart=68040quan=350I=xsid=6754g543a76 I am sending several part numbers from the form, but when parsed it only gives me the last one How do I get it to return all of the parts? I'm a PHP newbie, only been programming for 2 weeks... script

Re: [PHP] parse form input

2001-01-30 Thread David Robley
On Wed, 31 Jan 2001 01:55, Robert wrote: variables passed from form = part=68030quan=500I=xpart=68040quan=350I=xsid=6754g543a76 I am sending several part numbers from the form, but when parsed it only gives me the last one How do I get it to return all of the parts? I'm a PHP newbie, only

[PHP] Parse error

2001-01-23 Thread Liam Gibbs

Re: [PHP] Parse error

2001-01-23 Thread Liam Gibbs
Should probably put the whole thing. Why does this produce a parse error (I know that include statements do weird things to if structures): if($username != "") { code code code } else { include("file.php3"); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Parse error

2001-01-23 Thread Matt Williams
Which line is producing the error?? M@ -Original Message- From: Liam Gibbs [mailto:[EMAIL PROTECTED]] Sent: 23 January 2001 17:32 To: [EMAIL PROTECTED] Subject: Re: [PHP] Parse error Should probably put the whole thing. Why does this produce a parse error (I know

Re: [PHP] PHP Parse MySQL Field???

2001-01-20 Thread Richard Lynch
I have a BLOB field in a MySQL database that I want to parse into my page using PHP. For instance, in this field might be the following: ? echo "test"; ? So when I access this field in PHP I want it to display "test". Is this possible? Yeah. That's called "eval" (short for 'evaluate')

[PHP] Re: PHP Parse MySQ: Field???

2001-01-20 Thread [ rswfire ]
and variables used in the class language I wrote when I am done. What do you think? Thankz again! Rob List: php-general Subject: Re: [PHP] PHP Parse MySQL Field??? From: "Richard Lynch" [EMAIL PROTECTED] Date: 2001-01-20 9:27:12 [Download message RAW] I have a BLOB field

[PHP] Fw: PHP Parse MySQL Field???

2001-01-19 Thread [ rswfire ]
Please email me directly with your response. I am not subscribed to the list. Thankz in advance. - Original Message - From: [ rswfire ] To: Sent: Friday, January 19, 2001 9:56 PM Subject: PHP Parse MySQL Field??? I have a BLOB field in a MySQL database that I want to parse

[PHP] Parse Error

2001-01-14 Thread Wade Halsey
Hi Im getting a parse error with this: $sqlCheckLogin = sqlExecute( "Select * from Sky where SkyUName = '".$HTTP_POST_VARS['UserName']."' AND SkyPasswd = '".($HTTP_POST_VARS['Password'])."'" ) ; Help

<    1   2   3   4   5   6