practice, practice, practice

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
the_cheat
Forum Newbie
Posts: 5
Joined: Tue Oct 12, 2010 4:09 pm

practice, practice, practice

Post by the_cheat »

Hi I am brand new to PHP and relatively new to programming in general. I know everyone says that the best way to learn is to practice coding, so my question
is that while I am still a beginner, I don't really have any ideas for any projects that I can do. I am currently reading a book and am following along in the
examples in the book, but I need to find something to code where I'm just not copying the code. Does anyone know of any websites that provide exercises and
such for beginners. Or if anyone has any ideas of small projects for me, please let me know.

Thanks.
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Re: practice, practice, practice

Post by s.dot »

I started out developing a personal web site. Kind of like a blog, an about me, pictures, family, other sections. Intense learning experience when developing from scratch and just starting out.
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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: practice, practice, practice

Post by Benjamin »

Here's a small project.

Create a page that displays a form. The form will ask for name, email address and a short message. Upon submission it will email the results to you.

Once you have done that modify the form so that in addition to sending an email, the data is stored in a database table.

Post your code in the PHP - Code or Coding Critique forums here and we will tell you how it can be improved.

A few hints:

mail()
$_POST
filter_var()

Code: Select all

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
mysql_connect()
mysql_query()
Post Reply