Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

?> Displays at top of page


EricK

Recommended Posts

?> is displayed at the top of checkout_success.php, using

 

Purchase Without Account v.06b

 

Anyone else see this? Appears to be a bug in the code at line 72

 

}

 

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

 

The ?> tag closes the beginning <?php tag, so why does ?> it show on the page?

 

many thanks,

Eric

Link to comment
Share on other sites

Check elsewhere on the page for an orphaned ?> php tag. If the tag is in a spot that is not legal for text in HTML then the browser will show it at the top. For example, it could be in a table but not inside tha table cell tags. A good code editor will help by color-coding the tags, and would probably show the misplaced tag as an error.

 

Good hunting.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...