Search found 5 matches

by Bozack
Tue Dec 16, 2008 12:23 am
Forum: PHP - Code
Topic: Trivial help to a hopeless newbie
Replies: 11
Views: 452

Re: Trivial help to a hopeless newbie

Actually I didn't thought that you could go out of the <?php ... ?> tags within a function :) But yes, that is much easier, and tidier
by Bozack
Mon Dec 15, 2008 11:38 am
Forum: PHP - Code
Topic: Trivial help to a hopeless newbie
Replies: 11
Views: 452

Re: Trivial help to a hopeless newbie

Argh, dammit, can't believe I didn't saw that! Thanks! :oops:
by Bozack
Mon Dec 15, 2008 11:35 am
Forum: PHP - Code
Topic: Trivial help to a hopeless newbie
Replies: 11
Views: 452

Re: Trivial help to a hopeless newbie

The whole start of the document: <?php   /* name:        top    description: The top of all pages    written by:  Bozack    created:     2008/12/15    modified:    2008/12/15        pagetitle:   Title of the page    pagewidth:   Width of the table containing the page    dir:         Position from ro...
by Bozack
Mon Dec 15, 2008 11:30 am
Forum: PHP - Code
Topic: Trivial help to a hopeless newbie
Replies: 11
Views: 452

Re: Trivial help to a hopeless newbie

The line it complains about is the line where I start defining the function, so it's complaining already on the line with

Code: Select all

function top($pagetitle,$pagewidth,$dir) {
moreover, it still gives the same error when I have removed the return.
by Bozack
Mon Dec 15, 2008 10:39 am
Forum: PHP - Code
Topic: Trivial help to a hopeless newbie
Replies: 11
Views: 452

Trivial help to a hopeless newbie

~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too. Hi, I'm just started on PHP after a way too long time without usin...