Jump to content

kle321

New Members
  • Posts

    2
  • Joined

  • Last visited

About kle321

  • Birthday 03/21/1985

Profile Information

  • Gender
    Female
  • Location
    New England
  • Interests
    web design, jewelry making, knitting, reading, dnd, star trek, learning new skills, and various other crafty and nerdy things =)

Contact Methods

  • Website
    http://dreamingiris.com

kle321's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Oops, I must have skipped over that paragraph! Thanks for such a comprehensive answer, it makes total sense to me now. It seems like each time I take another step in learning PHP, the previous step becomes a lot more clear =) So just moving on in the tutorial will probably answer a lot of my questions. Right now I'm just fooling around with modifying the example and seeing what works and what doesn't. It doesn't all make sense to me WHY some things work and some don't, but sometimes when you learn something new, you just need to take the steps you're told to take without worrying about the "why", and later on, after some experience, it all makes sense. That's true for sock knitting, too
  2. Hi everyone! I'm brand-new to this site and I'm working through the OOP PHP lessons. A little background on my experience: I'm brand new to programming- I'm probably intermediate/advanced with XHTML and CSS, but all this programming stuff is new to me. I'm excited to start learning PHP because of all the cool things that can be done with it in web design. I've been googling tutorials like crazy lately, and this site is the most clear and easy that I've found because it takes you step-by-step, explains the "whys", and doesn't assume that everyone reading it is already a programmer! Anyway, onto my question- I'm on Step 11 in the OOP PHP tutorial. I just had a quick question about this part: $stefan = new person(); $jimmy = new person; Why are there parenthesis at the end of the first line, but not the second? Are they optional? It looks like the remainder of the code follow the same format for both. What, if anything, could you put in the parenthesis? Or does that not apply to the class in this example? Sorry if these are dumb questions, but I'd appreciate any help =)
×
×
  • Create New...