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

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, 453👍, 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, 453👍, 0💬

$_GET, $_POST and $_REQUEST in PHP
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user entered data will be transferred to the PHP engine, which will make the submitted data available to your PHP script for processing in pre-defined arrays: $_GET - An associate array that store form data...
2016-11-15, 453👍, 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, 452👍, 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, 448👍, 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, 448👍, 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, 448👍, 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, 448👍, 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, 448👍, 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, 447👍, 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, 446👍, 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, 446👍, 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, 442👍, 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, 441👍, 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, 441👍, 0💬

Getting Minimum/Maximum Value of an Array in PHP
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximum value of an array, you can use the min() or max() function. Here is a PHP script on how to use min() and max(): &lt;?php $array = array(5, 7, 6, 2, 1, 3, 4, 2); print("Minimum number: ".min($arr...
2016-12-28, 440👍, 0💬

Install .NET Framework in Visual Studio
How to install .NET Framework in Visual Studio Community 2017? I have the Visual Studio Installer installed. If you have the Visual Studio Installer ready, you can follow these steps to install .NET Framework in Visual Studio Community 2017. 1. Close Visual Studio, if you are running it. 2. Run "All...
2017-09-19, 439👍, 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, 438👍, 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, 438👍, 0💬

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, 437👍, 0💬

Missing XHTML 'title' Element
What Happens If the XHTML "title" Element is Missing? XHTML 1.0 requires you write the title element inside the head element. If you forget to include the title element, the XHTML validator will return an error to you. Here is how you can test this yourself. Go the W3 XHTML validator Web site: http:...
2017-06-28, 436👍, 0💬

XHTML 'meta' Elements Not Closed
What Happens If an XHTML "meta" Element Is Not Closed? Meta tags, link tags and base tags must be closed in XHTML documents. If you forget to close them like the HTML format, you will get validation errors. Try the following tutorial sample XHTML document on http://validator.w3.org/ to see what type...
2017-06-28, 436👍, 0💬

'frame' - Controlling HTML Table Borders
How To Turn On Some Parts of Table Outer Borders? If you don't want to turn all 4 edges of outer borders in a table, you need to use the "frame" attribute, which offer the following options: &lt;table border="1" frame="border"&gt; - Turns on all 4 edges. &lt;table border="1" frame="box"&...
2017-05-13, 436👍, 0💬

Missing Cells in HTML Table Row
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most browsers will provide empty columns to the end of the row to make up the missing columns. For example, if your XHTML document has a table with the first row having 2 columns, and the second row having 3 co...
2017-05-05, 434👍, 0💬

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