Page 1 of 2
Hi! I'm New!
Posted: Sat Sep 24, 2005 4:38 pm
by Shaneckel
Well, I want to learn php, and to be completly honest, I suck at coding. My fellow heterosexual life-mate "shiznatix" told me to sign up then and post something like this (For he is my coder). Then he said some ass would right back with "search noob". He then followed that up with how he got down with some russian chick.
Long story shortened, I need to learn php, and he said this would be the best place to go.
Please help a desperate Designer pull his life of creativity down to your retched learning.
http://www.shaneckel.com
~Quang
(Who did you think designed for shiznatix?, that boy dosen't know the difference between a split comp from a triad)
Posted: Sat Sep 24, 2005 4:50 pm
by feyd

that is a nomination for bizarre first post if I ever saw one.. with that said... where do you want to start learning? We've got several "php newb" starter threads, this one here (
viewtopic.php?t=21400) is probably our best thrown-in-the-pool experience...
Posted: Sat Sep 24, 2005 5:13 pm
by shiznatix
w00t good glad you finally posted. ok yes the previous reply is going to be good to read and whatnot. the way most people learn is you have to have a problem first, somthing that you want done.
my sugestion is maybe... a send me a email telling me what you think kinda deal. like in your contacts section instead of it giving them your email make it so they just fill out a form and it automatically emails you. this is rather easy and is a good first step.
things you will need to know.
-how to use a html form
-the mail(); function
-simple input checking (make sure they arn't putting things in the email that you don't want in your email)
thats about it. remember, your best friend is going to be the php manual
http://www.php.net
make that and post your problems as you go, i know you will have many

Posted: Sat Sep 24, 2005 5:50 pm
by neophyte
Welcome to phpdn! -- I'm a designer turned coder too. PHPDN is the best community on the planet for learning PHP....
Posted: Sat Sep 24, 2005 7:52 pm
by Chris Corbyn
Welcome

I agree with feyd about that being quite a bizzarre first post

Posted: Sat Sep 24, 2005 9:28 pm
by Skara
uhuh. *reads again* right.
Well, welcome in any case. ^^;
I've learned most everything I know about php from the manual. Of course, I already knew other languages beforehand, so that helped.

Posted: Sat Sep 24, 2005 11:33 pm
by s.dot
lots of people from here think it's cool to add me to their messengers ;p and i help whenever i can. so you can give that a shot too.
damn, i'm nice. ;p
Posted: Sun Sep 25, 2005 2:56 pm
by Shaneckel
Coding is not fun.
But I'll learn!
I'm going to redo my site completly because thats how I am. I get bored with it in a matter of hours.
So... I'll learn andrews nutty little contact thing, I'll put the chat in with that. I also need to learn how to do "news" just not as gay as you coders make them look.
I'm reading up, I'll get back to you guys, thanks for the help.
~Quang
Posted: Sun Sep 25, 2005 2:58 pm
by John Cartwright
Shaneckel wrote:Coding is not fun.
I've been coding for several years.. and enjoying it. Am I insane ?

Posted: Sun Sep 25, 2005 3:06 pm
by shiznatix
Jcart wrote:I've been coding for several years.. and enjoying it. Am I insane ?

yes. yes you are
Posted: Sun Sep 25, 2005 4:05 pm
by Skara
Guess I am to, eh?

Posted: Sun Sep 25, 2005 6:03 pm
by Shaneckel
Thats a damn shame really.
Posted: Sun Sep 25, 2005 11:06 pm
by Shaneckel
http://www.shaneckel.com/php/hello2.php
how would you make this so when you post nothing, it would get angry, and scorn you for trying to manipulate it?
Code: Select all
Hi <?php echo $_POST['name']; ?>.
You are <?php echo $_POST['age'];
?> years old.
Posted: Sun Sep 25, 2005 11:13 pm
by mickd
Code: Select all
if(!empty($_POST['name']) && !empty($_POST['age']) {
echo 'Hi ' . $_POST['name'] . '. You are ' . $_POST['age'] . ' years old.';
} else {
echo 'did not fill in name/age';
}
Posted: Sun Sep 25, 2005 11:17 pm
by pilau
An if statement:
Code: Select all
if ($_POST['age'] == "") {
//Get angry!
}