PHP Tutorial Output
Echo
- Concatenate string in echo statement in PHP
- Echo variable and message together in PHP
- Join two string variables together in PHP
- Output the value of the current and the last element in an array in PHP
- Use multiple parameters with echo function in PHP
- Use single quotes to print the variable name, not the value in PHP
- Write multi-line text to the output in PHP
- Write some text to the output in PHP
- Write the value of an array to the output in PHP
- Write the value of the string variable to the output in PHP
- Write the value of the string variable to the output including HTML tags in PHP
Printf
- Format data in printf, string, decimal and float in PHP
- Format float value with two decimal places in PHP
- Use printf() to demonstrate all possible format values in PHP
- Use printf with type specifiers in PHP
- Join two string variables together and output in PHP
- Output text to the output in PHP
- Output value of a string ($str) to the output in PHP
- Output value of a string variable ($str) to the output, including HTML tags in PHP
- Print multiline text to the output in PHP
- Print string along wiht html tag in PHP
- Print the value of an array to the output in PHP