<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTML&#187; code</title>
	<atom:link href="http://htmlindex.net/tag/code/feed" rel="self" type="application/rss+xml" />
	<link>http://htmlindex.net</link>
	<description>html index</description>
	<lastBuildDate>Wed, 23 May 2012 15:00:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Easy HTML CheckBox Code + NotePad</title>
		<link>http://htmlindex.net/easy-html/easy-html-checkbox-code-notepad-2</link>
		<comments>http://htmlindex.net/easy-html/easy-html-checkbox-code-notepad-2#comments</comments>
		<pubDate>Tue, 01 May 2012 15:00:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Easy Html]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Notepad]]></category>

		<guid isPermaLink="false">http://htmlindex.net/easy-html/easy-html-checkbox-code-notepad-2</guid>
		<description><![CDATA[this is an Easy html code you can do in note pad Website &#8211; www.w3schools.com Video Rating: 3 / 5 this is a very easy html code you can do in notepad for an submit button + text field. addthis_url = 'http%3A%2F%2Fhtmlindex.net%2Feasy-html%2Feasy-html-checkbox-code-notepad-2'; addthis_title = 'Easy+HTML+CheckBox+Code+%2B+NotePad'; addthis_pub = ''; Technorati Tags: checkbox, code, easy, html, Notepad]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Feasy-html%252Feasy-html-checkbox-code-notepad-2%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Easy%20HTML%20CheckBox%20Code%20%2B%20NotePad%22%20%7D);"></div>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/elncczLHTCk?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/elncczLHTCk?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>this is an Easy <a href="http://htmlindex.net" target=_self>html</a> code you can do in note pad Website &#8211; www.w3schools.com<br />
<strong>Video Rating: 3 / 5</strong></p>
<p>				<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/jDJ27FbQNAA?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/jDJ27FbQNAA?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>this is a very easy <a href="http://htmlindex.net" target=_self>html code</a> you can do in notepad for an submit button + text field.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Feasy-html%2Feasy-html-checkbox-code-notepad-2';
  addthis_title  = 'Easy+HTML+CheckBox+Code+%2B+NotePad';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/easy-html/easy-html-checkbox-code-notepad-2"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/checkbox' rel='tag' target='_blank'>checkbox</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/easy' rel='tag' target='_blank'>easy</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/Notepad' rel='tag' target='_blank'>Notepad</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/easy-html/easy-html-checkbox-code-notepad-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introduction to HTML Computer Code : Changing HTML Text Color &amp; Size</title>
		<link>http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2</link>
		<comments>http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2#comments</comments>
		<pubDate>Tue, 24 Apr 2012 03:00:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html Text Color]]></category>
		<category><![CDATA[Changing]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[introduction]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2</guid>
		<description><![CDATA[Learn how to change text color and size in an html document and learn how to build your own website in this free computer programming video. Expert: Dorian Winterfeld Contact: greenbelt.com/dorian/resume.html Bio: Dorian Winterfeld has a Bachelor of Science Degree in Computer Science and has general web and database programming primarily in Perl and SQL &#8230; <a href="http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fhtml-text-color%252Fintroduction-to-html-computer-code-changing-html-text-color-size-2%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Introduction%20to%20HTML%20Computer%20Code%20%3A%20Changing%20HTML%20Text%20Color%20%26amp%3B%20Size%22%20%7D);"></div>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/nQfvT1STvqQ?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/nQfvT1STvqQ?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>Learn how to change text color and size in an <a href="http://htmlindex.net" target=_self>html</a> document and learn how to build your own website in this free computer programming video. Expert: Dorian Winterfeld Contact: greenbelt.com/dorian/resume.html Bio: Dorian Winterfeld has a Bachelor of Science Degree in Computer Science and has general web and database programming primarily in Perl and SQL on Windows and Unix platforms. Filmmaker: Travis Waack<br />
<strong>Video Rating: 3 / 5</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fhtml-text-color%2Fintroduction-to-html-computer-code-changing-html-text-color-size-2';
  addthis_title  = 'Introduction+to+HTML+Computer+Code+%3A+Changing+HTML+Text+Color+%26amp%3B+Size';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Changing' rel='tag' target='_blank'>Changing</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/color' rel='tag' target='_blank'>color</a>, <a class='technorati-link' href='http://technorati.com/tag/computer' rel='tag' target='_blank'>computer</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/introduction' rel='tag' target='_blank'>introduction</a>, <a class='technorati-link' href='http://technorati.com/tag/size' rel='tag' target='_blank'>size</a>, <a class='technorati-link' href='http://technorati.com/tag/text' rel='tag' target='_blank'>text</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/html-text-color/introduction-to-html-computer-code-changing-html-text-color-size-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Q&amp;A: I need a simple CSS drop-down menu and nested navigation code?</title>
		<link>http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code</link>
		<comments>http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code#comments</comments>
		<pubDate>Fri, 20 Apr 2012 15:00:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Drop Down Menus In Html]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dropdown]]></category>
		<category><![CDATA[menu]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[need]]></category>
		<category><![CDATA[nested]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code</guid>
		<description><![CDATA[Question by : I need a simple CSS drop-down menu and nested navigation code? If it can&#8217;t be done in just CSS and needs JavaScript then I can use that to&#8230; want to keep my nav style just add drop down menus and nested navigation. I need to keep my current DIV&#8217;s to here is &#8230; <a href="http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fdrop-down-menus-in-html%252Fqa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Q%26amp%3BA%3A%20I%20need%20a%20simple%20CSS%20drop-down%20menu%20and%20nested%20navigation%20code%3F%22%20%7D);"></div>
<p><strong><i>Question by </i>: I need a simple CSS drop-down menu and nested navigation code?</strong><br />
If it can&#8217;t be done in just CSS and needs JavaScript then I can use that to&#8230; want to keep my nav style just add drop down menus and nested navigation. I need to keep my current DIV&#8217;s to here is the nav tag</p>
<div id="nav">
<ul>
<li>home</li>
<li>About Us</li>
<li>Video Album</li>
<li>Photo Album</li>
<li>contact</li>
<li>downloads</li>
<li>fanfiction</li>
<li>Join Ours News Letter</li>
</ul>
<p>        <br class="clear" />
</div>
<div id="content">
<div class="top-panel">
<div>
<p><strong>Best answer:</strong></p>
<p><i>Answer by Leo D</i><br/>Please read the tutorial at <a href="http://htmlindex.net" target=_self>html</a>Dog, entitled &#8220;Son of Suckerfish Dropdowns&#8221;. It&#8217;s the clearest, latest tutorial that I know of which can help you with particularly this problem =) Also, please look at the examples too.</p>
<p><strong>Add your own answer in the comments!</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fdrop-down-menus-in-html%2Fqa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code';
  addthis_title  = 'Q%26amp%3BA%3A+I+need+a+simple+CSS+drop-down+menu+and+nested+navigation+code%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/dropdown' rel='tag' target='_blank'>dropdown</a>, <a class='technorati-link' href='http://technorati.com/tag/menu' rel='tag' target='_blank'>menu</a>, <a class='technorati-link' href='http://technorati.com/tag/navigation' rel='tag' target='_blank'>navigation</a>, <a class='technorati-link' href='http://technorati.com/tag/need' rel='tag' target='_blank'>need</a>, <a class='technorati-link' href='http://technorati.com/tag/nested' rel='tag' target='_blank'>nested</a>, <a class='technorati-link' href='http://technorati.com/tag/simple' rel='tag' target='_blank'>simple</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/drop-down-menus-in-html/qa-i-need-a-simple-css-drop-down-menu-and-nested-navigation-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If you have maintained others code / done complete e-business website, I need advice.?</title>
		<link>http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice</link>
		<comments>http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice#comments</comments>
		<pubDate>Sun, 15 Apr 2012 03:00:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html Email Templates]]></category>
		<category><![CDATA[advice]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Complete]]></category>
		<category><![CDATA[done]]></category>
		<category><![CDATA[ebusiness]]></category>
		<category><![CDATA[maintained]]></category>
		<category><![CDATA[need]]></category>
		<category><![CDATA[others]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice</guid>
		<description><![CDATA[by mant Question by SH: If you have maintained others code / done complete e-business website, I need advice.? Do you find working on code written by other developer difficult like me? I am working on this website in PHP. It was given to me almost 80% complete (so they said) &#038; needed to add &#8230; <a href="http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fhtml-email-templates%252Fif-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22If%20you%20have%20maintained%20others%20code%20%2F%20done%20complete%20e-business%20website%2C%20I%20need%20advice.%3F%22%20%7D);"></div>
<div style="float:left;margin:5px;font-size:80%;"><img alt=""html email templates"" src="http://farm6.staticflickr.com/5099/5427940362_1c75eb3fa7_m.jpg" width="160" title="If you have maintained others code / done complete e business website, I need advice.?" /><br/> by <a target="_blank" href="http://www.flickr.com/photos/82347626@N00/5427940362">mant</a></div>
<p><strong><i>Question by SH</i>: If you have maintained others code / done complete e-business website, I need advice.?</strong><br />
Do you find working on code written by other developer difficult like me?<br />
I am working on this website in PHP.<br />
It was given to me almost 80% complete (so they said) &#038; needed to add new functionality like when membership expires send automatic e-mail or don&#8217;t allow user to login after membership expires. It had few bugs also like search doesn&#8217;t return correct result.</p>
<p>I have dought about basic structure of website.  This website have one folder of all html pages with tage in each page like</p>
<p><search_location_box size="5" name="searchloc"></p>
<p><dbtable name="MyDB" idfield="jsid"></p>
<p><redir url="thanks.php"></p>
<postemail emailfield="email" template="templates/email_new.txt">.</p>
<p>etc etc&#8230;   &#038;  there are all php function in /library/  folder which read these <a href="http://htmlindex.net" target=_self>html</a> templates &#038; replaces tags with text boxes &#038; database name.  </p>
<p>Function like LoadTemplate(xyz.html);<br />
  remove_tag( &#8230;. );<br />
replace_tag($  tagname, $  replacewith, $  text) </p>
<p>Please see more details<br />
Even database sql are created on fly not only INSERT but UPDATE is also done on fly, I don&#8217;t see any written sql statement:</p>
<p>function GetNewSaveSQL() // this function creates sql statement<br />
{<br />
global $  tableinfo; //populated at top of this page</p>
<p>$  sql = &#8220;insert into &#8221; . $  tableinfo->GetName() . &#8221; (&#8220;; </p>
<p>$  commaflag = false;<br />
foreach ($  tableinfo->fields as $  fieldname => $  field) {<br />
if (! empty($  _POST[$  fieldname])) {<br />
if ($  commaflag == true) {$  sql .= &#8220;, &#8220;;} else {$  commaflag = true;}<br />
$  sql .= $  fieldname;<br />
}<br />
} </p>
<p>$  sql .= &#8220;) values (&#8220;; </p>
<p>$  commaflag = false;<br />
foreach ($  tableinfo->fields as $  fieldname => $  field) {<br />
if (! empty($  _POST[$  fieldname])) {<br />
&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>Is there any methodology this old developer has used or is it just bad development? Is it me who is not following it? Should I completely redo this project?</p>
<p><strong>Best answer:</strong></p>
<p><i>Answer by ericp_wa</i><br/>I&#8217;ve been a web developer for about 8 years. I&#8217;ve single-handedly designed everything from small sites to sites ranked among the top 30,000 on the Internet. During this time I&#8217;ve had a few occasions to work with code that another developer created and I was asked to maintain/update.</p>
<p>To be honest, unless the developer did a fairly decent job of commenting and/or documenting his code, it may take you so long to familiarize yourself with his methods that it will end up being easier, and BETTER in the long run to redesign the entire thing yourself.</p>
<p>However, depending on the budget your client has to work with and the size of the overall site, it might not be feasible to actually redesign the entire project.  In this case, you&#8217;re basically stuck tracing the execution path from start to finish to get a good handle on how things are done.  You will probably find that whatever the developer does on one page, he will also do on the rest of his pages. So once you discover that initial method, the rest will go much faster and easier.</p>
<p>Judging by the small amount of code you posted, it looks like he&#8217;s using an SQL creation function to save himself the trouble of having to write an SQL query for each form on the site. He&#8217;s using a class object which must be instantiated based on whatever table is determined to be the relevant table for this query. That table appears to be defined at the top of the code of the various pages.  I wish I could provide more detail, but there isn&#8217;t enough code here for me to perform any deeper analysis. </p>
<p>Best of luck my friend!</p>
<p><strong>Add your own answer in the comments!</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fhtml-email-templates%2Fif-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice';
  addthis_title  = 'If+you+have+maintained+others+code+%2F+done+complete+e-business+website%2C+I+need+advice.%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/advice' rel='tag' target='_blank'>advice</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/Complete' rel='tag' target='_blank'>Complete</a>, <a class='technorati-link' href='http://technorati.com/tag/done' rel='tag' target='_blank'>done</a>, <a class='technorati-link' href='http://technorati.com/tag/ebusiness' rel='tag' target='_blank'>ebusiness</a>, <a class='technorati-link' href='http://technorati.com/tag/maintained' rel='tag' target='_blank'>maintained</a>, <a class='technorati-link' href='http://technorati.com/tag/need' rel='tag' target='_blank'>need</a>, <a class='technorati-link' href='http://technorati.com/tag/others' rel='tag' target='_blank'>others</a>, <a class='technorati-link' href='http://technorati.com/tag/website' rel='tag' target='_blank'>website</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/html-email-templates/if-you-have-maintained-others-code-done-complete-e-business-website-i-need-advice/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Any way to create a script that injects code into an HTML page?</title>
		<link>http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page</link>
		<comments>http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page#comments</comments>
		<pubDate>Thu, 12 Apr 2012 22:45:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Designing Html Emails]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[injects]]></category>
		<category><![CDATA[into]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page</guid>
		<description><![CDATA[Question by David R: Any way to create a script that injects code into an HTML page? I&#8217;ve learned xhtml, CSS, Javascript, and Java (fairly)&#8230; I&#8217;m designing a Java program to help me update the news section on my website by spitting out the html code. Is there a way to design a program that &#8230; <a href="http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fdesigning-html-emails%252Fany-way-to-create-a-script-that-injects-code-into-an-html-page%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Any%20way%20to%20create%20a%20script%20that%20injects%20code%20into%20an%20HTML%20page%3F%22%20%7D);"></div>
<p><strong><i>Question by David R</i>: Any way to create a script that injects code into an HTML page?</strong><br />
I&#8217;ve learned <a href="http://htmlindex.net" target=_self>xhtml</a>, CSS, Javascript, and Java (fairly)&#8230;  I&#8217;m designing a Java program to help me update the news section on my website by spitting out the <a href="http://htmlindex.net" target=_self>html code</a>.  Is there a way to design a program that could access my news.php file on the web server and change the <a href="http://htmlindex.net" target=_self>html</a> code (and inject the code at the right place) at a click of the button?</p>
<tr>
<td height="48" background="images/newsheader.gif">
<div align="center">
    <t>TITLE &#8211; DATE</t></div>
</td>
</tr>
<tr>
<td>
<div align="center">
<table width="607" border="0">
<tr>
<td>
<p>
                MESSAGE</p>
</td>
</tr>
<tr>
<td>
<div align="right">
<p>-NAME @ TIME</p>
</div>
</td>
</tr>
<p>The program will spit this code out and fill in the variables according to what I specify in the text fields with the &#8220;Generate HTML Code&#8221; button.  Now, I want to be able to click another button (or maybe run some type of a script) that injects this code into the HTML file just before the last code that was injected.</p>
<p>Any ideas as to where to start?</p>
<p>Additional information:  I have tried setting our page up as a blog; after many attempts, I&#8217;ve come to the conclusion that my host is missing something (or has something turned off) that blogs need in order to work, as they were all buggy upon fresh installations.  (I couldn&#8217;t even access the admin panel in WordPress!  I&#8217;d get a white screen.)</p>
<p><strong>Best answer:</strong></p>
<p><i>Answer by Nigel</i><br/>You probably could do with looking at template engines ( http://java-source.net/open-source/template-engines ). They tend to be more a programmatic thing &#8211; some in Java, but they have the idea of replacing tokens with content.</p>
<p><strong>Add your own answer in the comments!</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fdesigning-html-emails%2Fany-way-to-create-a-script-that-injects-code-into-an-html-page';
  addthis_title  = 'Any+way+to+create+a+script+that+injects+code+into+an+HTML+page%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/create' rel='tag' target='_blank'>create</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/injects' rel='tag' target='_blank'>injects</a>, <a class='technorati-link' href='http://technorati.com/tag/into' rel='tag' target='_blank'>into</a>, <a class='technorati-link' href='http://technorati.com/tag/page' rel='tag' target='_blank'>page</a>, <a class='technorati-link' href='http://technorati.com/tag/script' rel='tag' target='_blank'>script</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/designing-html-emails/any-way-to-create-a-script-that-injects-code-into-an-html-page/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code is Poetry</title>
		<link>http://htmlindex.net/img-html/code-is-poetry</link>
		<comments>http://htmlindex.net/img-html/code-is-poetry#comments</comments>
		<pubDate>Tue, 20 Mar 2012 15:00:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Img Html]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Poetry]]></category>

		<guid isPermaLink="false">http://htmlindex.net/img-html/code-is-poetry</guid>
		<description><![CDATA[by NASA Goddard Photo and Video Article by Gantt Ryan I was recently working on a wordpress plugin and need a very small image upload feature just to upload company logo. I was thinking to use the original wordpress file uploader, as it is really very cool and easy to use as well. So after &#8230; <a href="http://htmlindex.net/img-html/code-is-poetry">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fimg-html%252Fcode-is-poetry%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Code%20is%20Poetry%22%20%7D);"></div>
<div style="float:left;margin:5px;font-size:80%;"><img alt=""img html"" src="http://farm5.staticflickr.com/4044/4545213271_cdf2cfa10c_m.jpg" width="160" title="Code is Poetry" /><br/> by <a target="_blank" href="http://www.flickr.com/photos/24662369@N07/4545213271">NASA Goddard Photo and Video</a></div>
<p>Article  by Gantt Ryan</p>
<p>I was recently working on a wordpress plugin and need a very small image upload feature just to upload company logo. I was thinking to use the original wordpress file uploader, as it is really very cool and easy to use as well. So after checking few code snipped&#8217;s I found the below solution:</p>
<p>Here is the <a href="http://htmlindex.net" target=_self>html code</a> for browse button,</p>
<p>&lt;input id=&#8221;company_logo&#8221; type=&#8221;text&#8221; name=&#8221;company_logo&#8221; size=&#8221;36&#8243; /&gt;&lt;input id=&#8221;upload_button&#8221; type=&#8221;button&#8221; value=&#8221;Upload Image&#8221; /&gt;You are required to add these javascript libraries to achieve the lightbox effect and uploader screen</p>
<p>add_action(&#8216;init&#8217;, &#8216;call_init&#8217;);function call_init(){wp_enqueue_script(&#8220;jquery&#8221;);wp_enqueue_script(&#8216;media-upload&#8217;);wp_enqueue_script(&#8216;thickbox&#8217;);wp_enqueue_style(&#8216;thickbox&#8217;);}and now the actual javascript code, which will do the magic</p>
<p>jQuery(&#8216;#upload_image_button&#8217;).click(function() {formfield = jQuery(&#8216;#company_logo&#8217;).attr(&#8216;name&#8217;);tb_show(&#8221;, &#8216;media-upload.php?type=image&amp;TB_iframe=true&#8217;);return false;});</p>
<p>window.send_to_editor = function(html) {imgurl = jQuery(&#8216;img&#8217;,html).attr(&#8216;src&#8217;);jQuery(&#8216;#company_logo&#8217;).val(imgurl);tb_remove();}Above code will open a thikbox and allow user to upload image or select from the uploaded one like one we can while adding thumnails or post images on post page. Once image gets uploaded and user presses &#8220;insert into post&#8221;, the &#8220;send to editor&#8221; function gets activated and it will copy the image url to input box you had created in the <a href="http://htmlindex.net" target=_self>html</a>.</p>
<p>This will look exactly like wordpress image uploader screen.</p>
<p>So upload functionality done here, but what I required was to get the image id or say attachment id once image uploaded successfully and url comes in input box, and for that there is a hook in the wordpress api which we can use while user click &#8220;insert into post&#8221; button, it is &#8220;image_send_to_editor&#8221;</p>
<p>add_filter(&#8216;image_send_to_editor&#8217;, &#8216;image_to_editor&#8217;, 20, 8);&#8221;image_send_to_editor&#8221; hook get&#8217;s called in the background when user press &#8216;insert into post&#8217; button and provides various parameter, like html, attachment id, caption of the image, title of the image, alignment of the image, url, size and alt tag of the image.As I only need attachment id from that function to save in db and latter can use it for thumbnail generation, so I just updated a option in the database to save it.</p>
<p>function image_to_editor($ html, $ id, $ caption, $ title, $ align, $ url, $ size, $ alt){update_option(&#8216;company_logo_id&#8217;, $ id);return $ html;}Hope this will help in image upload features of wordpress plugins. Feedback and questions are welcome here.</p>
<p>			    About the Author</p>
<p>Author name is Gantt Ryan.He is Bloger.</p>
<div></div>
<p>Related <a target="_blank" href="http://htmlindex.net/category/img-html">Img Html Articles</a></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fimg-html%2Fcode-is-poetry';
  addthis_title  = 'Code+is+Poetry';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/img-html/code-is-poetry"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/Poetry' rel='tag' target='_blank'>Poetry</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/img-html/code-is-poetry/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>html code: How do I create multiple text boxes in one line?</title>
		<link>http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line</link>
		<comments>http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line#comments</comments>
		<pubDate>Wed, 29 Feb 2012 04:44:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Html Text Box Color]]></category>
		<category><![CDATA[Boxes]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Line]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line</guid>
		<description><![CDATA[Question by ara: html code: How do I create multiple text boxes in one line? I need to create multiple text boxes, specifically 5, in one line, however, the p style code below causes each text box to start in a new line. thanks, People Best answer: Answer by JJWhy dont you use table instead!!! &#8230; <a href="http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fhtml-text-box-color%252Fhtml-code-how-do-i-create-multiple-text-boxes-in-one-line%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22html%20code%3A%20How%20do%20I%20create%20multiple%20text%20boxes%20in%20one%20line%3F%22%20%7D);"></div>
<p><strong><i>Question by ara</i>: <a href="http://htmlindex.net" target=_self>html</a> code: How do I create multiple text boxes in one line?</strong><br />
I need to create multiple text boxes, specifically 5, in one line, however, the p style code below causes each text box to start in a new line. </p>
<p>thanks,  </p>
<p style= "border-style:solid;border-color:black;border-width:thin;width:80;height:35;text-align:center">
<font ="Calibri, Trebuchet, sand-serif" color="black" size="4"><br />
People<br />
</font>
</p>
<p><strong>Best answer:</strong></p>
<p><i>Answer by JJ</i><br/>Why dont you use table instead!!!</p>
<p><TABLE border="1" style= "border-style:solid;border-color:black;" ></p>
<p><TR><br />
<TD>Column 1</TD><br />
<TD>Column 2</TD><br />
<TD>Column 3</TD><br />
<TD>Column 4</TD><br />
</TR><br />
</TABLE></p>
<p><strong>Know better? Leave your own answer in the comments!</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fhtml-text-box-color%2Fhtml-code-how-do-i-create-multiple-text-boxes-in-one-line';
  addthis_title  = 'html+code%3A+How+do+I+create+multiple+text+boxes+in+one+line%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Boxes' rel='tag' target='_blank'>Boxes</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/create' rel='tag' target='_blank'>create</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/Line' rel='tag' target='_blank'>Line</a>, <a class='technorati-link' href='http://technorati.com/tag/multiple' rel='tag' target='_blank'>multiple</a>, <a class='technorati-link' href='http://technorati.com/tag/text' rel='tag' target='_blank'>text</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/html-text-box-color/html-code-how-do-i-create-multiple-text-boxes-in-one-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upload picture in the blogs home page using the HTML code</title>
		<link>http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code</link>
		<comments>http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code#comments</comments>
		<pubDate>Tue, 14 Feb 2012 16:00:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Upload Photo Html]]></category>
		<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Boots]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Face Book]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Home]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html code]]></category>
		<category><![CDATA[Html Learn]]></category>
		<category><![CDATA[Html Upload]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[Photo Cd]]></category>
		<category><![CDATA[Photo Upload]]></category>
		<category><![CDATA[Photos Button]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[Social Networking Sites]]></category>
		<category><![CDATA[Upload]]></category>
		<category><![CDATA[Upload Photo]]></category>
		<category><![CDATA[Upload Photos]]></category>
		<category><![CDATA[Upload Picture]]></category>
		<category><![CDATA[Upload Pictures]]></category>
		<category><![CDATA[Ur Photos]]></category>
		<category><![CDATA[using]]></category>
		<category><![CDATA[Yahoo]]></category>
		<category><![CDATA[Yahoo Answers]]></category>
		<category><![CDATA[Yahoo Photo]]></category>

		<guid isPermaLink="false">http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code</guid>
		<description><![CDATA[Learn how to upload your photo on your blogs home page using the html code. workwithlu.com http Video Rating: 5 / 5 www.andiepetoskey.com Do you know how to upload photos to Facebook? Well, I am going to quickly show you how! • How to upload photos on facebook fast? &#8211; Yahoo! Answers May 17, 2009 &#8230; <a href="http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fupload-photo-html%252Fhow-to-upload-picture-in-the-blogs-home-page-using-the-html-code%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2FyvSpP0%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20to%20upload%20picture%20in%20the%20blogs%20home%20page%20using%20the%20HTML%20code%22%20%7D);"></div>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/cG3hujPh9Tk?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/cG3hujPh9Tk?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>Learn how to upload your photo on your blogs home page using the <a href="http://htmlindex.net" target=_self>html</a> code. workwithlu.com http<br />
<strong>Video Rating: 5 / 5</strong></p>
<p>				<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/vIL70NEU1rE?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/vIL70NEU1rE?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>www.andiepetoskey.com Do you know how to upload photos to Facebook? Well, I am going to quickly show you how! • How to upload photos on facebook fast? &#8211; Yahoo! Answers May 17, 2009 &#8230; How to upload photos on facebook fast? I always have trouble uploading photos on facebook. The upload thing never works and i&#8217;ve tried the other offered &#8230; answers.yahoo.com &#8211; Cached &#8211; Similar &#8211; Why can&#8217;t I upload pictures onto Facebook? Is &#8230;‎ &#8211; Aug 25, 2009 Why does it take so long to upload photos on &#8230;‎ &#8211; Mar 15, 2008 How do I upload my photos from my phone to &#8230;‎ &#8211; Feb 16, 2008 Why do photos from a Boots photo CD not &#8230;‎ &#8211; Oct 21, 2007 More results from answers.yahoo.com » • Photo Upload Problem &#8211; Uploader does not work | Facebook I think the problem is disappearing of the &#8220;upload photos&#8221; button. &#8230;. called Bloom..its a fast and effective uploader which uploads ur photos straight to &#8230; www.facebook.com/topic.php?uid=2305272732&#8230; &#8211; Cached &#8211; Similar &#8211; • How To Upload Photos Faster Not Using Albums! | Facebook The Good news is we found a partner site that allows you to upload a picture to your profile faster with no sign up page and has a fast facebook embed &#8230; www.facebook.com/group.php?gid=58458942929&#038;ref&#8230; &#8211; Cached &#8211; Similar &#8211; Show more results from www.facebook.com • How To Upload Photos In Face Book Fast And Safe ? | vhxn.com Dec 11, 2008 &#8230; For sharing our photos, Facebook is one of such social networking sites&#8230;. www.vhxn.com/how-to-upload-photos-in-facebook-fast-and <b>&#8230;</b><br />
<strong>Video Rating: 3 / 5</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fupload-photo-html%2Fhow-to-upload-picture-in-the-blogs-home-page-using-the-html-code';
  addthis_title  = 'How+to+upload+picture+in+the+blogs+home+page+using+the+HTML+code';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Blogs' rel='tag' target='_blank'>Blogs</a>, <a class='technorati-link' href='http://technorati.com/tag/Boots' rel='tag' target='_blank'>Boots</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/Face+Book' rel='tag' target='_blank'>Face Book</a>, <a class='technorati-link' href='http://technorati.com/tag/Facebook' rel='tag' target='_blank'>Facebook</a>, <a class='technorati-link' href='http://technorati.com/tag/Home' rel='tag' target='_blank'>Home</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/html+code' rel='tag' target='_blank'>html code</a>, <a class='technorati-link' href='http://technorati.com/tag/Html+Learn' rel='tag' target='_blank'>Html Learn</a>, <a class='technorati-link' href='http://technorati.com/tag/Html+Upload' rel='tag' target='_blank'>Html Upload</a>, <a class='technorati-link' href='http://technorati.com/tag/page' rel='tag' target='_blank'>page</a>, <a class='technorati-link' href='http://technorati.com/tag/Photo+Cd' rel='tag' target='_blank'>Photo Cd</a>, <a class='technorati-link' href='http://technorati.com/tag/Photo+Upload' rel='tag' target='_blank'>Photo Upload</a>, <a class='technorati-link' href='http://technorati.com/tag/Photos+Button' rel='tag' target='_blank'>Photos Button</a>, <a class='technorati-link' href='http://technorati.com/tag/picture' rel='tag' target='_blank'>picture</a>, <a class='technorati-link' href='http://technorati.com/tag/Profile' rel='tag' target='_blank'>Profile</a>, <a class='technorati-link' href='http://technorati.com/tag/Social+Networking+Sites' rel='tag' target='_blank'>Social Networking Sites</a>, <a class='technorati-link' href='http://technorati.com/tag/Upload' rel='tag' target='_blank'>Upload</a>, <a class='technorati-link' href='http://technorati.com/tag/Upload+Photo' rel='tag' target='_blank'>Upload Photo</a>, <a class='technorati-link' href='http://technorati.com/tag/Upload+Photos' rel='tag' target='_blank'>Upload Photos</a>, <a class='technorati-link' href='http://technorati.com/tag/Upload+Picture' rel='tag' target='_blank'>Upload Picture</a>, <a class='technorati-link' href='http://technorati.com/tag/Upload+Pictures' rel='tag' target='_blank'>Upload Pictures</a>, <a class='technorati-link' href='http://technorati.com/tag/Ur+Photos' rel='tag' target='_blank'>Ur Photos</a>, <a class='technorati-link' href='http://technorati.com/tag/using' rel='tag' target='_blank'>using</a>, <a class='technorati-link' href='http://technorati.com/tag/Yahoo' rel='tag' target='_blank'>Yahoo</a>, <a class='technorati-link' href='http://technorati.com/tag/Yahoo+Answers' rel='tag' target='_blank'>Yahoo Answers</a>, <a class='technorati-link' href='http://technorati.com/tag/Yahoo+Photo' rel='tag' target='_blank'>Yahoo Photo</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/upload-photo-html/how-to-upload-picture-in-the-blogs-home-page-using-the-html-code/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>How do i insert HTML CODE in a PHP variable?</title>
		<link>http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable</link>
		<comments>http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable#comments</comments>
		<pubDate>Fri, 03 Feb 2012 16:00:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Inserting Html Borders]]></category>
		<category><![CDATA[Backslash]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html code]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[Interactive Pieces]]></category>
		<category><![CDATA[Language Types]]></category>
		<category><![CDATA[Loading Times]]></category>
		<category><![CDATA[Pg]]></category>
		<category><![CDATA[Php Manual]]></category>
		<category><![CDATA[Php Net]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable</guid>
		<description><![CDATA[Question by peter s: How do i insert html CODE in a PHP variable? I try inserting this code into a php variable: How can i do this? it doesnt work with me Best answer: Answer by DonnellyCPHP is like C, C++ and Java, you need to use &#8220;escape&#8221; characters. Escape characters are normally preceded &#8230; <a href="http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Finserting-html-borders%252Fhow-do-i-insert-html-code-in-a-php-variable%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fz96fDT%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22How%20do%20i%20insert%20HTML%20CODE%20in%20a%20PHP%20variable%3F%22%20%7D);"></div>
<p><strong><i>Question by peter s</i>: How do i insert <a href="http://htmlindex.net" target=_self>html</a> CODE in a PHP variable?</strong><br />
I try inserting this code into a php variable:</p>
<p><html><br />
<head><br />
</head><br />
<body></p>
<div id="Layer4" style="position:absolute; left:180px; top:37px; width:63px; height:107px; z-index:4">
<table width="0" border="0" cellpadding="0">
<tr>
<td width="48"><img src="Letter.gif" width="635" height="666" border="0" usemap="#Map" title="How do i insert HTML CODE in a PHP variable?" alt="Letter How do i insert HTML CODE in a PHP variable?" /></td>
</tr>
</table>
</div>
<map name="Map">
<area shape="rect" coords="471,273,600,406" href="http://rover.ebay.com/rover/1/710-5232-2978-16/1?aid=5048476&#038;pid=2235118">
</map>
<p></body><br />
</html></p>
<p>How can i do this? it doesnt work with me</p>
<p><strong>Best answer:</strong></p>
<p><i>Answer by DonnellyC</i><br/>PHP is like C, C++ and Java, you need to use &#8220;escape&#8221; characters. Escape characters are normally preceded with a backslash, and are there to tell the compiler or other interactive pieces of software (including functions) that a string contains a special character which cannot be directly inserted because it may be msitaken for something else. Every forward slash you use here needs an esaping slash, as may other characters, such as new lines not be shown as a return, but as &#8220;\n&#8221;. Have a look here:</p>
<p>http://www.php.net/manual/en/language.types.string.php</p>
<p>Furthermore:</p>
<p>http://uk.php.net/manual/en/function.pg-escape-string.php</p>
<p>There are certain string formatting rules to make sure the string isn&#8217;t mistakenly ended or executed by another function, etc. </p>
<p>Furthermore, do you really need ALL that code in one variable?<br />
Try only putting in the parts of the page that are subject to change, this will reduce processing and loading times.</p>
<p><strong>Add your own answer in the comments!</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Finserting-html-borders%2Fhow-do-i-insert-html-code-in-a-php-variable';
  addthis_title  = 'How+do+i+insert+HTML+CODE+in+a+PHP+variable%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Backslash' rel='tag' target='_blank'>Backslash</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/html+code' rel='tag' target='_blank'>html code</a>, <a class='technorati-link' href='http://technorati.com/tag/insert' rel='tag' target='_blank'>insert</a>, <a class='technorati-link' href='http://technorati.com/tag/Interactive+Pieces' rel='tag' target='_blank'>Interactive Pieces</a>, <a class='technorati-link' href='http://technorati.com/tag/Language+Types' rel='tag' target='_blank'>Language Types</a>, <a class='technorati-link' href='http://technorati.com/tag/Loading+Times' rel='tag' target='_blank'>Loading Times</a>, <a class='technorati-link' href='http://technorati.com/tag/Pg' rel='tag' target='_blank'>Pg</a>, <a class='technorati-link' href='http://technorati.com/tag/Php+Manual' rel='tag' target='_blank'>Php Manual</a>, <a class='technorati-link' href='http://technorati.com/tag/Php+Net' rel='tag' target='_blank'>Php Net</a>, <a class='technorati-link' href='http://technorati.com/tag/variable' rel='tag' target='_blank'>variable</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/inserting-html-borders/how-do-i-insert-html-code-in-a-php-variable/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Day 37 How To Center Html Code</title>
		<link>http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code</link>
		<comments>http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code#comments</comments>
		<pubDate>Fri, 20 Jan 2012 14:43:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How To Center Html]]></category>
		<category><![CDATA[center]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Html Center]]></category>
		<category><![CDATA[html code]]></category>
		<category><![CDATA[Html Command]]></category>
		<category><![CDATA[Image Text]]></category>
		<category><![CDATA[Tutorial Html]]></category>
		<category><![CDATA[Video Tutorial]]></category>
		<category><![CDATA[Widgets]]></category>

		<guid isPermaLink="false">http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code</guid>
		<description><![CDATA[mariegraceberg.com This video tutorial shows you how to center html code so that the image, text or video you&#8217;re trying to embed appears centered in your blog post. Video Rating: 5 / 5 How to Use The HTML Center Command on WordPress Widgets Video Rating: 5 / 5 addthis_url = 'http%3A%2F%2Fhtmlindex.net%2Fhow-to-center-html%2Fday-37-how-to-center-html-code'; addthis_title = 'Day+37+How+To+Center+Html+Code'; addthis_pub &#8230; <a href="http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code">Continue reading</a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fhtmlindex.net%252Fhow-to-center-html%252Fday-37-how-to-center-html-code%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fx6bfBM%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Day%2037%20How%20To%20Center%20Html%20Code%22%20%7D);"></div>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/w1ZMapTsxLs?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/w1ZMapTsxLs?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>
<div style="float:left;margin:5px;"><img src=http://i.ytimg.com/vi/w1ZMapTsxLs/default.jpg title="Day 37 How To Center Html Code" alt="default Day 37 How To Center Html Code" /></div>
<p>mariegraceberg.com This video tutorial shows you how to center <a href="http://htmlindex.net" target=_self>html</a> code so that the image, text or video you&#8217;re trying to embed appears centered in your blog post.<br />
<strong>Video Rating: 5 / 5</strong></p>
<p>				<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Dntdaq8EsWQ?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/Dntdaq8EsWQ?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>
<div style="float:left;margin:5px;"><img src=http://i.ytimg.com/vi/Dntdaq8EsWQ/default.jpg title="Day 37 How To Center Html Code" alt="default Day 37 How To Center Html Code" /></div>
<p>How to Use The HTML Center Command on WordPress Widgets<br />
<strong>Video Rating: 5 / 5</strong></p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fhtmlindex.net%2Fhow-to-center-html%2Fday-37-how-to-center-html-code';
  addthis_title  = 'Day+37+How+To+Center+Html+Code';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<div style="float:left;margin:0px 0px 0px 0px;"><a title="Post on Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count" data-url="http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div>
<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/center' rel='tag' target='_blank'>center</a>, <a class='technorati-link' href='http://technorati.com/tag/code' rel='tag' target='_blank'>code</a>, <a class='technorati-link' href='http://technorati.com/tag/html' rel='tag' target='_blank'>html</a>, <a class='technorati-link' href='http://technorati.com/tag/Html+Center' rel='tag' target='_blank'>Html Center</a>, <a class='technorati-link' href='http://technorati.com/tag/html+code' rel='tag' target='_blank'>html code</a>, <a class='technorati-link' href='http://technorati.com/tag/Html+Command' rel='tag' target='_blank'>Html Command</a>, <a class='technorati-link' href='http://technorati.com/tag/Image+Text' rel='tag' target='_blank'>Image Text</a>, <a class='technorati-link' href='http://technorati.com/tag/Tutorial+Html' rel='tag' target='_blank'>Tutorial Html</a>, <a class='technorati-link' href='http://technorati.com/tag/Video+Tutorial' rel='tag' target='_blank'>Video Tutorial</a>, <a class='technorati-link' href='http://technorati.com/tag/Widgets' rel='tag' target='_blank'>Widgets</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://htmlindex.net/how-to-center-html/day-37-how-to-center-html-code/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: htmlindex.net @ 2012-05-23 21:42:40 -->
