View Single Post
  #17  
Old 08-01-2005, 03:13 PM
 
techhead techhead is offline
 

Advanced Member
  
Join Date: Jun 2004
Location: Australia, Melbourne
Posts: 30
 

Default

Make sure that you only have the php code in the createAlt.php. Remove any other code like:

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> </body> </html>

It is also better to use long php tags just in case your server doesn't support short tags...
use:
Code:
<?php // code goes here ?>
instead of:
Code:
<? // code goes here ?>

For more information on the error your getting check out www.php.net
__________________
xcart v3.5.8 through to v4.0.14
redhat v9
php v4.3.10
MySQL 4.0.22
Reply With Quote