Monday, November 19, 2012

PHP 101 Notes

Below are some links that helped me get back on track with PHP which I haven't used in awhile

Basics

Variable scope :
http://php.net/manual/en/language.variables.scope.php

Multidimensional arrays :
http://www.roseindia.net/tutorial/php/phpbasics/PHP-Push-MultiDimensional-Array.html

Array Shuffle : http://php.net/manual/en/function.shuffle.php

Constants : http://php.net/manual/en/language.constants.php



random numbers : http://php.net/manual/en/function.rand.php

word wrapping : http://php.net/manual/en/function.wordwrap.php


classes : http://php.net/manual/en/keyword.class.php


GET/POST parameters and JSON

json encode : http://php.net/manual/en/function.json-encode.php

get parameters : http://php.net/manual/en/reserved.variables.get.php


MYSQL

connect mysql and do insert : http://stackoverflow.com/questions/5427090/php-mysqli-insert-variables-query

prepared statements :









No comments:

Post a Comment