<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Date

Multiple Paragraphs in an HTML List Item
Can Multiple Paragraphs Be Included in a List Item? Yes. You can include multiple paragraphs in a single list item, because "li" is a flow type element, which can have block elements and inline elements. The tutorial example below shows you how a list item can have two paragraphs: &lt;?xml versi...
2017-05-29, 478👍, 0💬

WPF App with VC# and XAML in Visual Studio 2017
How to build a WPF application with VC# and XAML in Visual Studio 2017? If you want to build a WPF (Windows Presentation Foundation) application with VC# and XAML in Visual Studio 2017, you can follow this tutorial 1. Start Visual Studio 2017 with .NET development environment. 2. Click "File &gt...
2017-08-13, 476👍, 0💬

HTML 'del' and 'ins' Tags/Elements
What Are HTML "del" and "ins" Tags/Elements? "del" and "ins" elements are inline elements that you can use to specify text to be treated as deleted text and inserted text respectively. Here are basic rules about "del" and "ins" elements: "del" and "ins" elements are inline elements. "del" and "ins" ...
2017-04-28, 476👍, 0💬

Using HTML 'div' Elements with CSS Properties
How To Use "div" Elements to Change CSS Properties? As elements containers, "div" elements are perfect places to set CSS properties which will be applied to all elements in the container. Here is a tutorial example of how to set CSS properties on "div" elements: &lt;?xml version="1.0" ?&gt; ...
2017-03-11, 476👍, 0💬

Truncating an Array in PHP
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use the array_splice($array, $offset, $length) function. $offset defines the starting position of the chunk to be removed. If $offset is positive, it is counted from the beginning of the array. If negativ...
2017-01-05, 476👍, 0💬

Downloading and Installing PHP
Where to find tutorials in downloading and installing PHP binary version for Windows system. Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in downloading and installing PHP binary version for Windows system. Installing PHP for Windows Verifying ...
2016-10-13, 476👍, 0💬

Using isset($_REQUEST('name')) in PHP
How To Avoid the Undefined Index Error in PHP? If you don't want your PHP page to give out errors as shown in the previous exercise, you should consider checking all expected input fields in $_REQUEST with the isset() function as shown in the example script below: &lt;?php if (isset($_REQUEST['n...
2016-11-15, 474👍, 0💬

Default File Name of a URL
What Happens If File Name is Missing in a URL? If the file name part is missing in a URL, the one of the following two rules will be used. 1. If a URL has no file name, but a path name is given, the browser will let the hosting computer to supply the default file name. On most hosting computers, the...
2017-07-07, 473👍, 0💬

'cellspacing' - White Spaces between HTML Table Cells
How To Control White Spaces between Table Cells? White spaces between cells refer to the vertical space between a upper cell and a lower cell in a table column, and the horizontal space between a left cell and a right cell in a table row. If inner borders are turned on, white spaces between cells ap...
2017-05-13, 473👍, 0💬

Index of Array Values in PHP
How Values in Arrays Are Indexed in PHP? Values in an array are all indexed their corresponding keys. Because we can use either an integer or a string as a key in an array, we can divide arrays into 3 categories: Numerical Array - All keys are sequential integers. Associative Array - All keys are st...
2017-02-03, 473👍, 0💬

Randomly Retrieving Array Values in PHP
How To Randomly Retrieve a Value from an Array in PHP? If you have a list of favorite greeting messages, and want to randomly select one of them to be used in an email, you can use the array_rand() function. Here is a PHP example script: &lt;?php $array = array("Hello!", "Hi!", "Allo!", "Hallo!"...
2017-01-11, 473👍, 0💬

Defining an Argument as a Reference in PHP
Can You Define an Argument as a Reference Type? in PHP? You can define an argument as a reference type in the function definition. This will automatically convert the calling arguments into references. Here is a PHP script on how to define an argument as a reference type: &lt;?php function ref_s...
2016-12-24, 469👍, 0💬

Hyper Link Indexes within the HTML Document
How To Build Hyper Link Indexes within the Same Document? If you want build some hyper link indexes within the same document, you need use "a" elements to define some bookmarks, then use "a" elements to define hyper links that pointing to those bookmarks. The tutorial example below shows you how to ...
2017-07-03, 468👍, 0💬

Passing an Argument to a Function in PHP
How To Pass an Argument to a Function? in PHP? To pass an argument to a function, you need to: Add an argument definition in the function definition. Add a value as an argument when invoking the function. Here is a PHP script on how to use arguments in a function(): &lt;?php function f2c($f) { r...
2016-12-24, 468👍, 0💬

HTML 'base' Tag/Element
What Is the HTML "base" Tag/Element? The "base" element is an optional sub-element of the "head" element. The "base" element specifies a base URL for all the hyper links in XHTML document. It has one required attribute called "href" to allow you to specify the base URL. Here is an example: &lt;?...
2017-06-23, 466👍, 0💬

Relative Path Name of a URL
What Is a Relative Path Name? A relative path name is a path name that starts without the leading slash "/". If a relative path name is used in a URL, the relative path name will be replaced with the current document path name appended with the specified relative path name. If "." or ".." is used in...
2017-07-07, 465👍, 0💬

HTML 'table' Tag/Element
What Is a "table" Tag/Element? A "table" element is a block level element that you can use to present information in table of rows and columns. Here are basic rules about "table" elements: "table" elements are block elements. "table" elements can not have empty contents. "table" elements can not hav...
2017-05-20, 465👍, 0💬

Writing an Array to a File without File Handle in PHP
How To Write an Array to a File without a File Handle in PHP? If you have an array, want to write it to a file, and you don't want to open the file with a file handle, you can use the file_put_contents(). It opens the specified file, writes all values from the specified string, closes the file, and ...
2016-11-27, 464👍, 0💬

Setting session.gc_maxlifetime Properly in PHP
How To Set session.gc_maxlifetime Properly in PHP? As you know that session.gc_maxlifetime is the session value timeout period. You should set this value based on the usage pattern of your visitors. Here are some suggestions: # Set it to 20 minutes for a normal Web site: session.gc_maxlifetime = 120...
2016-10-24, 464👍, 0💬

Looping through an Array in PHP
How to Loop through an Array in PHP? The best way to loop through an array is to use the "foreach" statement. There are two forms of "foreach" statements: foreach ($array as $value) {} - This gives you only one temporary variable to hold the current value in the array. foreach ($array as $key=&g...
2017-02-03, 463👍, 0💬

Appending Data to the End of a File in PHP
How To Append New Data to the End of a File in PHP? If you have an existing file, and want to write more data to the end of the file, you can use the fopen($fileName, "a") function. It opens the specified file, moves the file pointer to the end of the file, and returns a file handle. The second argu...
2016-12-02, 463👍, 0💬

Opening Standard Output as a File Handle in PHP
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a file handle yourself, you can use the fopen("php://stdout") function. It creates a special file handle linking to the standard output, and returns the file handle. Once the standard output is opened to ...
2016-11-24, 462👍, 0💬

'context.Request.Body' Request Body
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is the HTTP request body, which follows an empty line after request headers. You can access Request body from "context.Request.Body" object in any policy statements. This "context.Request.Body" object is ...
2018-01-24, 461👍, 0💬

Sorting an Array by Values in PHP
How To Sort an Array by Values in PHP? Sorting an array by values is doable by using the sort() function. It will re-order all pairs of keys and values based on the alphanumeric order of the values. Then it will replace all keys with integer keys sequentially starting with 0. So using sort() on arra...
2017-01-21, 461👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Date