• Welcome to Simple Machines Community Forum. Please login or sign up.
January 21, 2022, 01:10:14 AM

News:

SMF 2.0.19 has been released! Please update. Read more.


Lesson Requests

Started by Parham, August 31, 2003, 12:03:49 AM

Previous topic - Next topic

Parham

Here I'm willing to take any lesson requests people might have on any PHP topic...  Ask and I'll try and put a lesson together around the topic which is detailed yet simple to understand.

Spaceman-Spiff

i'd always want to learn regex :P
and i'm sure you're good at it, Parham...

[Unknown]

Regular Expressions are fun, but imho - to advanced as yet.

-[Unknown]

Spaceman-Spiff

true, maybe till we get to lesson 50 or something... ^^;

Parham

I can give a very bare and simplified lesson on it.  Teaching you how to match simple text and stuff.  But first we have to cover functions as a formal lesson before I can really get to this.

Seph|roth

My lesson request:

I would like to know how to make a site in php with navigation in this style:
index.php?page=something&menu=style1&... etc.

I know how to do it with 1 variable (index.php?page=something) but i would love to know how to do it with multiple variables so you can have like for every page the appropriate menu, header, footer, ect... like combining them...

Joshua Dickerson

Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Parham

Quote from: Seph|roth on August 31, 2003, 11:46:00 AM
My lesson request:

I would like to know how to make a site in php with navigation in this style:
index.php?page=something&menu=style1&... etc.

I know how to do it with 1 variable (index.php?page=something) but i would love to know how to do it with multiple variables so you can have like for every page the appropriate menu, header, footer, ect... like combining them...

actually if you look in the lesson overview, i'll be getting to that.  URL/form processing will be taught in these lessons:

Quote
-POST vs. GET with HTML forms

-how the GET method sends its information

-how the POST method sends its information

Seph|roth

August 31, 2003, 03:06:54 PM #8 Last Edit: September 05, 2003, 08:55:58 AM by Seph|roth
ah, i didn't realise it had anything to do with GET and POST.. I'll look out for that lesson then..  ;)

EDIT: stupid me, ofcourse it has a lot to do with GET :P

Aquilo

how to install
gd 2.0.15, libpng, zlib, & jpeg-6b or later.
properly!

I am having a time getting into my head what to do mostly because I think I need to install a
c compiler :P

Parham

since i don't want to go into THAT much detail (because not even I've actually tries it)... you'll have to give me time to see what I can come up with :)

Overseer

I don't think so really.. I'm a kinda try it and look for help at the time person.
props though, i'm sure diggin through the lessons will help some immensely.

Aquilo

Quote from: Parham on September 05, 2003, 07:11:05 AM
since i don't want to go into THAT much detail (because not even I've actually tries it)... you'll have to give me time to see what I can come up with :)

cool!!! :D

catqueen

Parham
Not so much a lesson request, but a suggestion for all the lessons. Give assignments. I know you plan to give assignments with the more advanced lessons, but I think you should give suggested drills. It really helps to learn syntax for loops, decision statements, and operators to go through various drills like:

examples:
1. Create a number variable.
2. Create a string variable.
3. Write a while loop that prints the value from a variable as long as the variable is less than 10.
4. Create an array of everyone in your family then write a foreach loop that prints their name.
5. Edit assignment 4 so that it concatenates a phrase with their name.

If you give five or ten exercises for each lesson, people can practice and learn the simple things. This way you can also allow them to build their skills and combine lessons in a simple manner. People who know how to code can skip over this kind of drill, but it could be a real help to people new to coding.

Parham

Quote from: catqueen on September 08, 2003, 12:20:55 PM
Parham
Not so much a lesson request, but a suggestion for all the lessons. Give assignments. I know you plan to give assignments with the more advanced lessons, but I think you should give suggested drills. It really helps to learn syntax for loops, decision statements, and operators to go through various drills like:

examples:
1. Create a number variable.
2. Create a string variable.
3. Write a while loop that prints the value from a variable as long as the variable is less than 10.
4. Create an array of everyone in your family then write a foreach loop that prints their name.
5. Edit assignment 4 so that it concatenates a phrase with their name.

If you give five or ten exercises for each lesson, people can practice and learn the simple things. This way you can also allow them to build their skills and combine lessons in a simple manner. People who know how to code can skip over this kind of drill, but it could be a real help to people new to coding.

the only reason i'm not doing it for each lesson quite frankly is because it's just too much to look over if people decide to do them.  I will be creating exercises for people to practice the basics too though.  Again, I'm just a little bogged down right now and it's hard to dish these out.

Spaceman-Spiff

can u pls put the lesson topic in the subject, like:
PHP Lesson 7: Control Structure Part 1
PHP Lesson 8: Control Structure Part 2

Parham

Yes, i'll change them right now

Shadow

I'd like to know how to create dynamic images, as well as some tips and advice for making captchas. Yes captchas would be nice to learn how to make...
Just do it, go Charter! [Unknown] offered me a spot on the dev team! I swear it!

"Sup foos'! I'm Marshie! Capital M and then arshie! I'm going this way!!!"

Shoeb Omar


eFishie

I don't know what captchas are, but it sounds cool!
--Jon

Abstraction Point Electronic Music Community - We don't bite! Really! I promise!

Check out my newest song: Alive

Advertisement: