Help
PHP-Pro Converter
This is HTML to PHP converter with extended functionality.
To convert the input into PHP code - just select your preferences and click the "convert" buton.

The best way to see how it works is just by playing with the different settings with some small piece of code. However, heere is the brief description of the different settings:
- Output
You can select the output type in the "Output" combo-box. You may convert to "echo", "print" and "printf" commands, or put the source (input) html into array or variable.
- echo - to put HTML code into "echo" commands
- print - to use "print" command
- printf - in case you want to use "printf" for the php output
- $array[] - select this if you want to put every line of the source html in separate array item
- $var - this will put the converted output into PHP variable
- +\n - check this option to add '\n' to the end of each line
- +(...) - check this if you want to put each line in parentheses
Note that if you choose "$array[]" or "$var" you'll need to provide variable name in the box which will appear right to the selection combo box:

Variable (or array) name must start with '$' and should be valid PHP var/array name