Hi! I'm New!
Moderator: General Moderators
Hi! I'm New!
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)
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)
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
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
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
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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
damn, i'm nice. ;p
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
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
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
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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?
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.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';
}An if statement:
Code: Select all
if ($_POST['age'] == "") {
//Get angry!
}