Code Help Page
If a bit of code from this section is not working, check these simple points first:
- Sometimes the code wraps when it should be a single line. If this happens, please copy the text into a text editor, and then make sure each line ends with a semi-colon, which is the line ending character in PHP.
- Make sure you have all the necessary extensions installed. For example, if you want to output images, check that you have the necessary PHP extensions installed.
- All PHP code must be surrounded by the start and end tags; for example:<?php
//some code here
?> - Have you uploaded your PHP files in TEXT mode? PHP files are text files and your FTP program needs to know that.
