<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6" -->
<rss version="0.92">
<channel>
	<title>Developing PHP</title>
	<link>http://www.developing-php.com/articles</link>
	<description>Articles and Example Code in PHP/MySQL/Javascript</description>
	<lastBuildDate>Tue, 22 Jul 2008 01:41:52 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Stop bots from submitting contact forms</title>
		<description>I have been using this code for a while and it seems to work but i don't think it is 100% infallible. It is used to stop robots from submitting your contact forms, or any kind of forms really. The code can be found at
:-

http://www.phpclasses.org/browse/package/3817.html </description>
		<link>http://www.developing-php.com/articles/2008/07/21/stop-bots-from-submitting-contact-forms/</link>
			</item>
	<item>
		<title>Javascript version of php in_array</title>
		<description>I was working with javascript arrays and needed to find a needle in a haystack or a value in an array. I came across this function:-

function js_in_array(the_needle, the_haystack){
   var the_hay = the_haystack.toString();
   if(the_hay == ''){
      return false;
   }
  ...</description>
		<link>http://www.developing-php.com/articles/2008/07/20/javascript-version-of-php-in_array/</link>
			</item>
	<item>
		<title>Change the visibility of a html element</title>
		<description>I often use this code to toggle the visibility of a HTML element on the page. It is especially useful with forms and showing different option depending on what the user selects. Here is the code:-

function ToggleVis(element){
   var Target=document.getElementById(element);
   if(Target.style.display==""){
      Target.style.display="none";
 ...</description>
		<link>http://www.developing-php.com/articles/2008/07/20/change-the-visibility-of-a-html-element/</link>
			</item>
	<item>
		<title>Dynamically load javascript code in page</title>
		<description>In the IWebBiz CMS individual content objects may need their own javascript code to process them. So I load each individual javascript file as needed. The code to do this is:-

function dhtmlLoadScript(url)
{
   var e = document.createElement("script");
   e.src = url;
   e.type="text/javascript";
   document.getElementsByTagName("head")[0].appendChild(e);
}
 </description>
		<link>http://www.developing-php.com/articles/2008/07/20/dynamically-load-javascript-code-in-page/</link>
			</item>
	<item>
		<title>Is a variable a number</title>
		<description>Often we need to see whether a variable is a number. Here is the code:-

function IsNumeric(sText)

{
   var ValidChars = "0123456789.";
   var IsNumber=true;
   var Char;

 
   for (i = 0; i < sText.length && IsNumber == true; i++)
      ...</description>
		<link>http://www.developing-php.com/articles/2008/07/20/is-a-variable-a-number/</link>
			</item>
	<item>
		<title>Scrolling Marquee Text</title>
		<description>I recently had a website that needed scrolling pictures from the right to the left. It was a photo album and it achieved this with a marquee tag. I also wanted to increase the speed of the scrolling via javascript so if the users went back to the page it ...</description>
		<link>http://www.developing-php.com/articles/2008/07/20/scrolling-marquee-text/</link>
			</item>
	<item>
		<title>Welcome To Developing PHP Articles</title>
		<description>Hello there, we have had a PHPBB website for over a year now but it has been plagued with spammers and hackers so i have decided to start anew with a blog. Wordpress seemed the logical system to use as i have had some experience with it so here we ...</description>
		<link>http://www.developing-php.com/articles/2008/07/19/hello-world/</link>
			</item>
</channel>
</rss>
