|
Pages: [1]
This site will be geared toward a few things. First and foremost I'd like to make it a place for PHP coders to hang. In doing so I hope it will become a place for themes and mods for SMF, and a place to learn how to code. 28 Feb 2009 PHP Lesson -- Arrays
posted in PHP Code Discussion
Written by IchBin™
February 28, 2009, 04:43:30 PM
2317 Views
Print Page
What is an Array? -- An array is something that can hold a set of values (strings, numbers etc.) that can all be dynamic.
One way to create an array in PHP: [php] $myArray = array('name' => 'ichbin', 'my_height' => '6ft', 'my_we 11 Jun 2007 PHP Lesson -- echoThe echo() construct:
echo() is also equal to print(). What echo does is that it outputs anything you put into it. For instance, you can put PHP and HTML in the echo statement and it will parse both the html string and the php code. There is a few things to remember when using an echo sta Pages: [1]
|
Page created in 0.135 seconds with 26 queries.