View Single Post
Old 12-11-2012, 12:15 AM   PM User | #3
Prime8
New Coder

 
Join Date: Oct 2010
Posts: 51
Thanks: 2
Thanked 0 Times in 0 Posts
Prime8 is an unknown quantity at this point
Your file: ltd-addcompany-01.txt starts with <? but doesn't end with ?>. You want this:

PHP Code:
<?php
.
.
.
?>
Also, in ltd-addcompany-02.txt it looks like you comment out everything except where you initialize your variables.

Looking further, there is more wrong than I first thought. OK, so ltd-add-company-01.php, you don't need to enclose all the html in <?php ?>. If you do you need to echo the html. If you don't you need to enclose the parts that are php in those tags. Also, your <head></head> tag is missing which should be telling the page where the script is located.

Last edited by Prime8; 12-11-2012 at 12:19 AM..
Prime8 is offline   Reply With Quote