scriptygoddess

04 Jun, 2002

php article

Posted by: kristine In: Bookmarks

Last month, I posted a link to a Basic CSS article I wrote for a designer newsletter. This month, I wrote a *really* basic Basic PHP article. So for those of you were are reading us here and still haven't gotten a chance to play with PHP, feel free to check this out. :)

note, I know there are lots of ways to do PHP things, and maybe I didn't use the best methods in my article, but these were the ways that I knew, and really just wanted to give the readers a taste of their very first PHP code.

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

1 Response to "php article"

1 | Amy

June 4th, 2002 at 11:02 am

Avatar

There's a particular tack for explaining PHP that I've never seen taken, and someone really should: PHP for the non-programmer.

I would have done some very, very grisly acts to have gotten hold of such a beast about a year ago.

Some things to cover: what a function is. How it works. What the stuff inside the ( and ) is for, and how it's used.

What a "concatenation operator" is, and how to use it properly.

Common errors. First things to check for when you get a parse error.

How to read the "this is how this command is set up" demonstration syntax on places like PHP.net.

Lastly — an overview of common bits seen in PHP: print, echo, for…each, break, continue, do…while, file, count, explode, implode, substr, strstr, substr_replace, array, etc.

…and if this gives you an idea for another article, go right ahead!

Featured Sponsors


  • Curt: If anyone comes across this with similar issues I was able to sort out the pagination issues painlessly with easyCommentsPaginate from http://www.mush
  • Christopher: Yeah, it is indeed hard to do. And something remains elusive about why the pagination never worked. I tried everything I could find. Regardless, I
  • Jennifer: Hi Christopher, always hard to bug test stuff like that remotely. Sorry those didn't help. Glad you found a solution though :)

About


Advertisements