quot;view":
$newsdata = file("./news/".$news);
$title = rtrim($newsdata[0]);
echo "Title: ".$title.""
?>
> 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
; 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
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
>> 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
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
> 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
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.
>
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
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 :
10 matches
Mail list logo