Search the Community
Showing results for tags 'manual'.
-
Good Afternoon Ladies & Gentlemen, I am interested in learning php programming. I do not have any programming background in any other programming languages be it computer programming (C, C++, C#, Perl, Java, etc.) or web programming ( Server Side: Php, Perl Cgi, Python, Ruby on Rails; Clientside: Javascript, Xml, Xhtml, CSS, etc.). I only know basic Html and currently use a bot programmign tool "Ubotstudio" but that's all. Can you be kind enough to recommend me a paper book where I can learn php without getting confused ? It must teach the latest stable version. Q1. Which php version is stable and which version is installed on webhosts the most ? 5.5.8 ? If so, where can I get a paper book to learn it or where can I learn it online from some free tutorial ? I actually prefer to learn it from a paper book as I am not always connected to the internet. I am using internet cafe to send this message/post. I was just checking Amazon now but a lot of books meant for the beginners have got bad reviews/ratings from customers and that has left me confused and worried. The book must be for total beginners and not for intermediate or advanced programmers. It must not leave out any basics but teach it. Must teach the full default library (all the "Commands", "Functions", "Sub functions", "Syntaxes" or whatever that exists in the language from top to bottom and not miss out anything. Must teach the full grammer of the language and not leave-out anything). You may recommend any free tutorial websites too but like I said I actually prefer to learn it from a paper book as I am not always connected to the internet. I am using internet cafe to send this message/post. Q2. What is Php frame work ? Reusable code blocks meant for a specific task such as deal with database, etc. ? If so, I'm not interested in getting into heaviuly learning one framework and not learn the full language. No good being just an eye specialist or a bone specialist (one field only). Might aswell be a general doctor (GP) that knows a little bit of all fields. I think you know what I mean. Let's learn the basics of the general stuffs first (the core of the language), I can them later-on move-on to other fields such as database, etc. And so, the book must not concentrate on one field only such as to build CMS or Social Network Account Logins or Forums or Database (MySql) because then I'd only learn one aspect of php and not the basics. In short, I want to learn the basics of the language and get a strong background in it. I prefer to build php scripts for Unix/Linux, Apache Webserver using MySql database. Book must teach step by step. Must teach A, B, C then 1, 2, 3 and 1+1=2, 2*2=4, 5-2=3, 25/5=5 and so on before jumping into the algebra and geometry (if you understand what I mean when we speak in terms of learning basic English and Maths). I don't want to program in one version and then see my webhost uses another version. Currently, my webhost is Hostgator. If I have come to the wrong department/category then kindly forward this message/post to whoever can help. I await every php lover's reply. Q3. Where did you learn php ? WHich website you used and which paper book ? Were they good or not so good or bad ? PS - What do you think about this book: http://www.amazon.co.uk/PHP-Programming-Ultimate-Course-Beginners-ebook/dp/B00PSNRK16/ref=sr_1_12?s=books&ie=UTF8&qid=1429028734&sr=1-12&keywords=php+5 It seems it's not a paper version. Do you reckon it will do the job or not ? PPS - if you can't recommend any paper books then do you recommend any website where I can go and printout the tutorials ? The website must qualify all that I said earlier about the book. Anyway, I was expecting the Php Board to provide basic teachings of the language on their website but I'm disappointed to see they don't! Thank You Mr. Ali
- 2 replies
-
- php
- programming
-
(and 2 more)
Tagged with:
-
Hello, I have a wordpress site using Thesis 2.1 theme and I am displaying "excerpts" for each post on homepage.. I don't want to add <!-- more --> to each post and I want to show sth different, sth more valuable on the homepage to my readers.. Thats why I use excerpts. I added this line of code to my custom.php file: function new_excerpt_more($more) {global $post;return ' <a href="'. get_permalink($post->ID) . '">Continue Reading...</a>';}add_filter('excerpt_more', 'new_excerpt_more'); It added a "continue reading.." link to the posts that I haven't yet defined excerpt.. So, If nothing is written on the excerpt area of that post, it shows some part of the post and adds a "continue reading.." link to it on the homepage. But if I have written sth in the excerpt area of the post, it does shows the excerpt, but doesn't add the "continue reading.." link at the end.. I will be happy if you may help me on this, this drives me nuts currently! [/size] MERGED So basically, what I am trying to do is, adding read more tag to custom excerpts which we define manually. Here is another code I tried but had no luck again! //* Changing excerpt more - only works where excerpt IS hand-craftedfunction manual_excerpt_more( $excerpt ) { $excerpt_more = ''; if( has_excerpt() ) { $excerpt_more = ' <a href="' . get_permalink() . '" rel="nofollow">[Read more]</a>'; } return $excerpt . $excerpt_more;}add_filter( 'get_the_excerpt', 'manual_excerpt_more' );