Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

header content type html php

header("Content-Type: text/plain");
echo "<b>hello world</b>";
// Displays in the browser: <b>hello world</b>

header("Content-Type: text/html");
echo "<b>hello world</b>";
// Displays in the browser with bold font: hello world
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #header #content #type #html #php
ADD COMMENT
Topic
Name
2+7 =