PHP Country Array
This script includes an array of countries you can use in your PHP forms. I also included a select example that uses the same array to help speed up your development....
This script includes an array of countries you can use in your PHP forms. I also included a select example that uses the same array to help speed up your development....
By default CDATA blocks in XML requests using SimpleXML are not returned and the node is blank. Here is an example using an RSS feed from DevShed....
The following examples cover some of the basics when working with a HTML element. Multiple selects, set multiple selects after post and set the default selected value on page load....
If you do not want to change the include_path directories (or you don’t have access to php.ini) you can still set the include_path value within your root .htaccess file. Update/Create /doc_root/.htaccess Unix/Linux Servers php_value include_path "/path/to/include" Windows Servers php_value include_path "C:/path/to/include" PHP To call the include within PHP do the following: require_once('file.php'); The file above ...
This is a multi-part post that lists all of the tools that I use on a regular basis as a web developer. The list is Microsoft Windows centric but I will point out the applications that are cross-platform (as best as I can). IDEs (Integrated Development Environment)* Microsoft ASP.NET Both of the IDEs below are ...
The following snippet will join values in an array with a specified separator. string[] items = new string[] { "one", "two", "three" }; string.Join(", ", items);...