RE: [PHP] Can any one spot the Parse error Here

2001-07-02 Thread Warren Vail
quot;view": $newsdata = file("./news/".$news); $title = rtrim($newsdata[0]); echo "Title: ".$title."" ?>

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Andrew Halliday
> It's more of a pain if I have to remember what order the parameters go Yeah, good point. I can see that. What i have been doing is componentising the page into functions which are responsible for rendering a discrete section of that page...ie if a page consists of a title bar and a form and t

RE: [PHP] Can any one spot the Parse error Here

2001-07-02 Thread scott [gts]
; To: [EMAIL PROTECTED] > Subject: Re: [PHP] Can any one spot the Parse error Here > > > Only typed it up in like 20 min, i normaly do that after :) > - Original Message - > From: Andrew Halliday <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Michael Kimsal
Andrew Halliday wrote: > > >Ive coded in both PHP and ASP and in both OO and function oriented. >Ultimately, i find functionally oriented PHP to be the best ... what do >other people think? > As much classes/objects as possible, imo. 'functions' by themselves are OK for smaller stuff, but when

[PHP] OO v. Functions Was: Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Aral Balkan
>> Ive coded in both PHP and ASP and in both OO and function oriented. Ultimately, i find functionally oriented PHP to be the best ... what do other people think? Having learnt how to program using Basic when I was 8, I had to unlearn a lot of things as I moved from Basic to Pascal (what? I can't

Re: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread ReDucTor
2001 6:29 PM Subject: [PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here) > > Only typed it up in like 20 min, i normaly do that [code tidying] after :) > > hehe tisk tisk...the merits of design havent been hammered through you yet? > you are lucky!!! > > But, thi

[PHP] PHP Form (aka:Re: [PHP] Can any one spot the Parse error Here)

2001-07-02 Thread Andrew Halliday
> Only typed it up in like 20 min, i normaly do that [code tidying] after :) hehe tisk tisk...the merits of design havent been hammered through you yet? you are lucky!!! But, this does raise an interesting issuegood PHP code structure/form. What do people consider good PHP form? Ive coded i

Re: [PHP] Can any one spot the Parse error Here

2001-07-02 Thread ReDucTor
Only typed it up in like 20 min, i normaly do that after :) - Original Message - From: Andrew Halliday <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 02, 2001 5:26 PM Subject: Re: [PHP] Can any one spot the Parse error Here > Brace count mismatch. >

Re: [PHP] Can any one spot the Parse error Here

2001-07-02 Thread Andrew Halliday
y 02, 2001 4:17 PM Subject: [PHP] Can any one spot the Parse error Here > Hey, > Right at the end i get a prase error, which i figure i have missed a > break; or a } > but i just can't seem to find it, can some one loo

[PHP] Can any one spot the Parse error Here

2001-07-01 Thread ReDucTor
Hey, Right at the end i get a prase error, which i figure i have missed a break; or a } but i just can't seem to find it, can some one look thro it, tell me if they spot it? My Code: User : Password :