Jump to content

Examples PHP?


eduard

Recommended Posts

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

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

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

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

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...