Page 1 of 1
Learning PHP
#1
Posted 04 January 2012 - 01:48 PM
Hey
Can anyone point me in the right direction
I am looking at expanding my very limited knowledge in PHP.
Are there any good sites to read or books
Any help would be great.
Thanks
Can anyone point me in the right direction
I am looking at expanding my very limited knowledge in PHP.
Are there any good sites to read or books
Any help would be great.
Thanks
#2
Posted 04 January 2012 - 02:03 PM
I'm learning from lynda.com at the moment. They have a some good tutorials on PHP and MySQL.
#4
Posted 04 January 2012 - 03:37 PM
tizag yes, w3schools no (http://w3fools.com/). Sitepoint has a number of books that were on sale over xmas that are fantastic, I'd recommend getting their books for learning
#6
Posted 04 January 2012 - 10:31 PM
Flicking between w3schools.com and tizag.com can be useful as they have slightly different tutorial examples and explinations. PHP.net is also full of basic useage snippets along with often some more advanced workarounds to common problems in the users comments section.
Remember following the recent PHP version update some older tutorials and many existing books feature command useage examples that have become depriciated (they will be removed entirely from the upcoming releases) and should not be used for projects anymore.
Learning by the book is one thing but actually doing IT is often not quite the same.
Remember following the recent PHP version update some older tutorials and many existing books feature command useage examples that have become depriciated (they will be removed entirely from the upcoming releases) and should not be used for projects anymore.
Learning by the book is one thing but actually doing IT is often not quite the same.
#7
Posted 05 January 2012 - 02:01 PM
The php book i got gives exercise after each chapter so will give that a go, and see how i feel.
#8
Posted 06 January 2012 - 03:30 PM
Learnables has an online tutorial. PHP and MySql for Dynamic Web Sites has some good examples to try out. Both are supported by online forums.
#11
Posted 09 January 2012 - 02:43 PM
I would like to give you some extra information.
The converting from strings is best to do via forms.
Itīs right away a good practice on the use of $_POST[""];
For learning about arrays, you can make a nice list and use a table to create that list via the while loop.
It's a nice way of learning arrays.
Beside all that I recommend PHP5 and MySQL the complete manual.
It gives you very very deep information about these functions.
At the end of each chapter they good some good tutorials.
The converting from strings is best to do via forms.
Itīs right away a good practice on the use of $_POST[""];
For learning about arrays, you can make a nice list and use a table to create that list via the while loop.
It's a nice way of learning arrays.
Beside all that I recommend PHP5 and MySQL the complete manual.
It gives you very very deep information about these functions.
At the end of each chapter they good some good tutorials.
#12
Posted 09 January 2012 - 06:36 PM
kensha, on 09 January 2012 - 02:43 PM, said:
I would like to give you some extra information.
The converting from strings is best to do via forms.
It´s right away a good practice on the use of $_POST[""];
For learning about arrays, you can make a nice list and use a table to create that list via the while loop.
It's a nice way of learning arrays.
Beside all that I recommend PHP5 and MySQL the complete manual.
It gives you very very deep information about these functions.
At the end of each chapter they good some good tutorials.
The converting from strings is best to do via forms.
It´s right away a good practice on the use of $_POST[""];
For learning about arrays, you can make a nice list and use a table to create that list via the while loop.
It's a nice way of learning arrays.
Beside all that I recommend PHP5 and MySQL the complete manual.
It gives you very very deep information about these functions.
At the end of each chapter they good some good tutorials.
mmm personally i'd make a list using foreach if your just practicing, unless your dealing with mysql then i'd use while, but a nice example would be...
<?php
$animal_array = array('dog','cat','snake','bear');
echo "<table>";
foreach($animal_array as $animals ):
echo "<tr><td>";
echo $animals;
echo "</td></tr>";
endforeach;
echo "</table>";
?>
its also pretty cool to practice with the for loop using dates like this
<?php
echo "<table>";
for($i = 1920; $i<=date('Y'); $i++):
echo "<tr><td>";
echo $i;
echo "</td></tr>";
endfor;
echo "</table>";
?>
This post has been edited by webdesigner93: 09 January 2012 - 06:40 PM
Share this topic:
Page 1 of 1
Help





















