eduard Posted January 18, 2011 Share Posted January 18, 2011 There aren´t any examples of PHP? Link to comment Share on other sites More sharing options...
ShadowMage Posted January 18, 2011 Share Posted January 18, 2011 Where? What kind of examples? There are lot's of examples scattered throughout the PHP tutorial on w3schools. Link to comment Share on other sites More sharing options...
eduard Posted January 18, 2011 Author Share Posted January 18, 2011 Where? What kind of examples? There are lot's of examples scattered throughout the PHP tutorial on w3schools.But not like HTML or CSS that there is a link to see many examples? Link to comment Share on other sites More sharing options...
ShadowMage Posted January 18, 2011 Share Posted January 18, 2011 But not like HTML or CSS that there is a link to see many examples?You mean like the Try It examples?Frankly, I'm not sure. It could just be that it is that much harder to create dynamic PHP scripts (not to mention more dangerous, since PHP is server-side) Link to comment Share on other sites More sharing options...
eduard Posted January 18, 2011 Author Share Posted January 18, 2011 You mean like the Try It examples?Frankly, I'm not sure. It could just be that it is that much harder to create dynamic PHP scripts (not to mention more dangerous, since PHP is server-side)Sorry, but I don´t understand your answer! Does it mean learning PHP isn´t necessary? Link to comment Share on other sites More sharing options...
justsomeguy Posted January 18, 2011 Share Posted January 18, 2011 What kind of examples are you talking about? Show the HTML and CSS examples that you think should be for PHP. Link to comment Share on other sites More sharing options...
thescientist Posted January 18, 2011 Share Posted January 18, 2011 PHP needs to be run on a server, so it's not as easy to implement on the fly as HTML and CSS examples. However, the entire PHP tutorial is one big example of PHP, just broken down into meaningful, separated parts, it just that you have to run it on your own machine or a host with PHP to test it/use it.examples from the tutorials:http://www.w3schools.com/php/php_syntax.asphttp://www.w3schools.com/php/php_string.asphttp://www.w3schools.com/php/php_forms.asphttp://www.w3schools.com/php/php_date.asphttp://www.w3schools.com/php/php_mysql_connect.asp Link to comment Share on other sites More sharing options...
ShadowMage Posted January 18, 2011 Share Posted January 18, 2011 Sorry, but I don´t understand your answer! Does it mean learning PHP isn´t necessary?No! That is certainly not what I meant. PHP is a good thing to learn.What I meant was that I think the reason they don't have any Try It examples for PHP is because it's more dangerous (for the host of the w3schools site) to allow people to write and execute PHP scripts on the fly. Link to comment Share on other sites More sharing options...
eduard Posted January 18, 2011 Author Share Posted January 18, 2011 What kind of examples are you talking about? Show the HTML and CSS examples that you think should be for PHP.Only you have to open the HTML and CSS tutorials and on the left side there are links for examples? Link to comment Share on other sites More sharing options...
justsomeguy Posted January 18, 2011 Share Posted January 18, 2011 That's just a list of all of the examples used in the tutorial. It doesn't look like they've created a list like that for PHP, the examples are just spread throughout the tutorial. Link to comment Share on other sites More sharing options...
ShadowMage Posted January 18, 2011 Share Posted January 18, 2011 Only you have to open the HTML and CSS tutorials and on the left side there are links for examples?Those are all links to Try It examples, which has already been explained why there are no PHP Try It examples. Link to comment Share on other sites More sharing options...
eduard Posted January 18, 2011 Author Share Posted January 18, 2011 PHP needs to be run on a server, so it's not as easy to implement on the fly as HTML and CSS examples. However, the entire PHP tutorial is one big example of PHP, just broken down into meaningful, separated parts, it just that you have to run it on your own machine or a host with PHP to test it/use it.examples from the tutorials:http://www.w3schools.com/php/php_syntax.asphttp://www.w3schools.com/php/php_string.asphttp://www.w3schools.com/php/php_forms.asphttp://www.w3schools.com/php/php_date.asphttp://www.w3schools.com/php/php_mysql_connect.asp Thank you very much! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.