Computer
Php examples
Php is defined as the open source language that is currently very popular for its great development on the web pages.
The Php is a very easy to use because it can be embedded in HTML, is widely used by the amount of number of pages and web portals. Also, because it is open source, it is free.
10 Php Examples
- Return button in php: </a>;?>.
- While loop in php: while (if == 10).
- Calculations in php: first value 10, second value = 30.
- Post or Email: content _type: text / html.
- Dates and times: today’s date the code is <? = Date (“G: i: s”);?>.
- Password generator: password = generatePassword.
- Random letters and numbers.
- To upload files: it is done through Post.
- To read files: text. Text.
- Sessions: _start session.