Jump to content

My php 20 Hour Goal


whales_88

Recommended Posts

Sup!

 

Based on a video I watched recently called "Learn anything in 20 hours" or something like that (

) I've decided to take on something I've always

wanted to learn but been intimidated by, and that's programming.

 

I don't know a lick of anything except some HTML snippets, no prior programming experience at all whatsoever.

 

My goal is really to put forward 1-2 hours a day, for the next few weeks and learn PHP.  I want to create a browser based program that gets data from costco.com (or whatever) and runs that data through a set of functions, to calculate a set of numbers.  It'll then print out that data in some human-pleasing format in the browser.

 

Sounds simple, but I'm going to have to learn how to request a page from another website, look into the code, get a variable, pass the variable back to my server/script, once I have all the data's, run them through my equation, then print it out. 

 

Anyways, that's me and what I came here to do.  Wish me luck!

 

Godspeed,

Whales88

Link to comment
Share on other sites

Learning by doing is the best way to learn to program. However, you should be realistic in your goals. Scraping a website touches on some of the hardest concepts to grasp for new programmers: Array's and Regex.

 

My advice to you, is to start small.

 

- Read the contents of a file and display them in HTML.

- Create a form with 2 input fields and add the numbers when the form is submitted.

- Create a form with only 1 input field and let the user guess the random number you set in the session and count his attempts.

- Create a database table using phpmyadmin, and fill it through PHP, list the records and allow to edit, delete them. For extra points:

-- auto-generate the table from SHOW COLUMNS <table>

-- and allow to select multiple records using a checkbox and delete them.

Edited by ignace
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.