Tutorials on php?

They have: 2 posts

Joined: Jan 2006

I see things like this all the time like this (for our purposes, I will use an example of a site with member profiles)

The url would be http://www.webaddress.com/viewprofile.php?member=373849
I'm not positive what exactly that is called, sorry if my title was misleading, but could anyone link me to a tutorial teaching what that is, how it works, and/or how to do it. Thanks! Laughing out loud

Busy's picture

He has: 6,151 posts

Joined: May 2001

The viewprofile page would probably have a database query, the member is a variable and the number is it's value.
On the page, the php/mysql would look something like SELECT * from members WHERE memberid = "373849";

Of course I have missed the validation and stuff to keep it simple, most PHP tutorials start with variables

timjpriebe's picture

He has: 2,667 posts

Joined: Dec 2004

This one is good, but can take awhile to go through. Anything worth learning is worth learning right, though.

http://us2.php.net/manual/en/index.php

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.