January 4, 201214 yr 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
January 4, 201214 yr I'm learning from lynda.com at the moment. They have a some good tutorials on PHP and MySQL.
January 4, 201214 yr 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
January 4, 201214 yr 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.
January 5, 201214 yr Author The php book i got gives exercise after each chapter so will give that a go, and see how i feel.
January 6, 201214 yr 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.
January 9, 201214 yr 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.
January 9, 201214 yr 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. 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>"; ?> Edited January 9, 201214 yr by webdesigner93
Create an account or sign in to comment