Im a PHP n00b! can i please get some help?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
DeathSyndrome
Forum Newbie
Posts: 4
Joined: Mon Oct 13, 2003 4:42 am
Location: Sunshine Coast, Australia
Contact:

Im a PHP n00b! can i please get some help?

Post by DeathSyndrome »

I was trying to make a furum using phpBB or tForum, but then it suddleny hit me I didnt know how to! I know HTML and SQL and have mySQL and the latest php, I also have a friend running sambar server who is gonna host it. Does anyone know a GOOD tutorial for n00bs? or can anyone tell me how to get started?
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

and if you're using one of those forum-packages, simply follow the install instructions. You don't have to know php to set up a basic board
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

and please go to volka's sig link and read the section titled "Write in clear, grammatical, correctly-spelled language"

if you decide to alter the pre-made that you have, it might help your threads get read
DeathSyndrome
Forum Newbie
Posts: 4
Joined: Mon Oct 13, 2003 4:42 am
Location: Sunshine Coast, Australia
Contact:

Post by DeathSyndrome »

Yeah ok......thanks for the "help"!
I want mod the pre made one, but I dont just want to make a forum I want to learn it also for future use.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

phpBB has a site dedicated to board hacks that you might find interesting also. The hacks are displayed as "Find this, Add X after" so to speak, that is easely understandable if you know abit of PHP.

But trying to modify it without knowing php well, is not recommended. It contains rather advanced code and alot of filejumps that would make a beginner literally lost.

Imho, a forum is not the right thing to start coding with.
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

[smiley face with "i'm with stupid" and and arro pointing to the post above mine on a sign]


well he's not stupid. it's just stupid not to listen to and take that advice, imho.


just a piece of advice: put this on hold for a month and go teach yourself php, then come back to it
DeathSyndrome
Forum Newbie
Posts: 4
Joined: Mon Oct 13, 2003 4:42 am
Location: Sunshine Coast, Australia
Contact:

Post by DeathSyndrome »

Mmmm, I wasnt going to make the forum right away, I wanted to learn some PHP first so I could then edit it. But I will continue reading the manual and then just some tutorials and so on of the net. When I know the basics I will try and set up a forum. Thanks for the help anyway fellas!
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

If you want to make a good Forum don't forget to learn about Sessions, Classes, Functions, and MySQL while you're at it (they are all part of PHP).

Talk about jumping in at the deep end :wink:
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

..on the other hand a forum is a good place to start precisely because it covers a whole range of issues common to many programs: login/registration/authentication systems, privilege systems, sessions, admin management, and so on (not forgetting good relational database design).

First thing I wrote when I started with php was a forum.

There's a "Starter Pack" tutorial coming to phpdn soon which covers all the basics you need to get started - manuals, local servers etc.
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

McGruff is indeed correct in some aspects. I think it's a personal touch as how we ourselves started and how we differ in thinking, logicly (I myself did not start with a board).

If I state it's the wrong approach, but you yet try it, and prove me that I didn't know what I was talking about... Then I certainly wouldn't be sad. But I would still state that I don't think it's a good idea. ;)

So go ahead, and try it out. You will sooner or later notice if you are able to manage it. And good luck to you, hope the links were somewhat useful.
DeathSyndrome
Forum Newbie
Posts: 4
Joined: Mon Oct 13, 2003 4:42 am
Location: Sunshine Coast, Australia
Contact:

Post by DeathSyndrome »

I have MySQL and have recent experince with SQL so I should be ok there. What would you recommned I strart with then other than a forum?
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

how would you progress learning c? first you learn hello world, then a calculator, and increase the complexity adding new things that you need to use to program. thus learning one itemthat will be needed in a complex program at a time so that you get comfortable witht he compontents.


same with a scripting lang, build up what you need for a complex script. start with hello world then manipulate it.. make it a self processing form that takes a name. now you add the dynamic contents, namely grabbing something from elements of html and using them (which WILL be needed for a forums) and build from there.
Post Reply