Version: 1.0

Type: Function

Category: HTTP

License: GNU General Public License

Description: Just a little bit o' code that displays a marquee with the text and design that you specify.



<?php

	function DisplayMarquee($message) {

		$html_o = array(
			"font"		=> "<font\n  face='Arial, Helvetica, sans-serif'\n  size='1'\n  color='#000000'>\n\n  <strong>\n\n  ",
			"marquee"	=> "<marquee\n  hspace='2'\n  scrollamount='1'\n  vspace='2'\n  behavior='scroll'\n  direction='left'\n  width='100%'\n  bgcolor='#ff9900'\n  style='border-color: #000000; border-style: solid; border-width: 1pt'>\n\n"
		);

		$html_c = array(
			"font"		=> "\n\n </strong>\n</font>",
			"marquee"	=> "</marquee>"
		);

		echo $html_o['marquee'];
		echo $html_o['font'];
		echo $message;
		echo $html_c['font'] . "\n";
		echo $html_c['marquee'];

	}

	DisplayMarquee("I like chicken breast!");

?>