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

HTML 'code' Tag/Element
What Is an HTML "code" Tag/Element? An "code" element is an inline element that you can use to specify text to be treated as computer code. Here are basic rules about "code" elements: "code" elements are inline elements. "code" elements can not be used at block level. Contents of "code" elements wil...
2017-04-28, 735👍, 0💬

Order of Array Values in PHP
How the Values Are Ordered in an Array in PHP? PHP says that an array is an ordered map. But how the values are ordered in an array? The answer is simple. Values are stored in the same order as they are inserted like a queue. If you want to reorder them differently, you need to use a sort function. ...
2017-01-29, 732👍, 0💬

JSON-stringify.html - JSON.stringify() Example Code
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example code in JavaScript. &lt;!-- JSON-stringify.html Copyright (c) FYIcenter.com --&gt; &lt;html&gt; &lt;body&gt; &lt;script type="text/javascript"&gt; var str1 = JSON.strin...
2017-09-08, 730👍, 0💬

Finding a Given Value in an Array in PHP
How To Find a Specific Value in an Array in PHP? There are two functions can be used to test if a value is defined in an array or not: array_search($value, $array) - Returns the first key of the matching value in the array, if found. Otherwise, it returns false. in_array($value, $array) - Returns tr...
2017-01-21, 728👍, 0💬

Dump Everything from 'context.Request'
How to build a test service operation to dump everything from the "context.Request" object in the response in Azure API Policy? If you want to build a test service operation to dump everything from the request to the response with an Azure API policy, you can follow this tutorial: 1. Go to the publi...
2018-01-24, 723👍, 0💬

JSON-stringify-Object.html - JSON.stringify() on Objects
How JSON.stringify() behaves on JavaScript objects? When processing an object, JSON.stringify() behave depending on the type of objects based on the following rules: Boolean, Number, and String objects are converted to the corresponding primitive JSON values during stringification. Date objects are ...
2017-09-08, 716👍, 0💬

JSON to XML Conversion at freeformatter.com
How to use the JSON to XML Conversion Tool at freeformatter.com? If you want to try the JSON to XML Conversion Tool at freeformatter.com, you can follow this tutorial: 1. Go to the JSON to XML Conversion Tool page at freeformatter.com. 2. Enter the following JSON value in the text area: ["Hello", 3....
2018-03-18, 711👍, 0💬

Sorting an Array by Keys in PHP
How To Sort an Array by Keys in PHP? Sorting an array by keys can be done by using the ksort() function. It will re-order all pairs of keys and values based on the alphanumeric order of the keys. Here is a PHP script on how to use ksort(): &lt;?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixe...
2017-01-21, 711👍, 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, 710👍, 0💬

"Hello.c" - Compile and Run C Program
How to use Visual Studio command tools to compile and run a C program? If you want to compile and run a standard C program with Visual Studio command tools, you can follow this tutorial: 1. Create a simple C program, Hello.c, with a text editor: #include &lt;stdio.h&gt; void main() { printf(...
2017-08-21, 707👍, 0💬

Visual Studio 2017 .NET Program Folders
In which folders Visual Studio 2017 .NET programs are located on my Windows computer? When Visual Studio 2017 .NET is installed on your Windows computer, its programs are located the following folders: .NET Framework location: C:\Program Files (x86)\Microsoft.NET .NET Framework support for Visual St...
2017-09-19, 706👍, 0💬

HTML Ordered List Item Markers
How To Use Different Markers on Ordered List Items? By default, browsers will use decimal numbers as the item markers for ordered lists. If you want to change them to something else, like alphabetical letters, you need to use CSS properties. Here is a tutorial sample showing you how to set item mark...
2017-05-29, 704👍, 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, 701👍, 0💬

Instantiate Chaincode on BYFN Channel
How to Instantiate Chaincode on BYFN Channel? You can follow this tutorial to Instantiate Chaincode on BYFN Channel manually. 1. Verify the installed chaincode: $ docker exec -it cli bash bash-4.4# echo $CORE_PEER_ADDRESS peer0.org2.example.com:7051 bash-4.4# peer chaincode list --installed Get inst...
2019-04-14, 694👍, 0💬

Atom Online Validator at w3.org
How to use the Atom Online Validator at w3.org? w3.org feed validation service is provided at http://validator.w3.org/feed/. It offers you two methods to validate your Atom feed document: Validate by URL - Validating a feed file by entering the URL where the feed file is located. Validate by Direct ...
2017-12-31, 694👍, 0💬

HTML Tables and Table Cells
Where to find tutorials of introduction to HTML Tables and Table Cells? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in introduction to HTML Tables and Table Cells. Clear answers are provided with tutorial exercises on table elements like: tabl...
2017-05-20, 690👍, 0💬

Call JSON.stringify() with Replacer Function
What is a replacer function that you can provide the JSON.stringify() function call? The replacer function is an event handler function that is called repeatedly whenever a value, an array element or an object property is stringified during the execution of the JSON.stringify() function. The replace...
2017-09-08, 689👍, 0💬

Testing the strpos() Return Value in PHP
What Is the Best Way to Test the strpos() Return Value? Because strpos() could two types of values, Integer and Boolean, you need to be careful about testing the return value. The best way is to use the "Identical(===)" operator. Do not use the "Equal(==)" operator, because it does not differentiate...
2016-10-13, 687👍, 0💬

Write Minimum Atom 1.0 Feed File
How to write a Minimum Atom 1.0 Feed File? If you want your Website to support a minimum Atom 1.0 feed, you can follow this tutorial. 1. First create a file called "atom.xml" with the following content: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;feed xmlns="http://www.w3.org/2005/ A...
2017-12-13, 686👍, 0💬

Comparing Two Strings with strcmp() in PHP
How To Compare Two Strings with strcmp()? PHP supports 3 string comparison operators, &lt;, ==, and &gt;, that generates Boolean values. But if you want to get an integer result by comparing two strings, you can the strcmp() function, which compares two strings based on ASCII values of their...
2016-10-13, 686👍, 0💬

RSS 2.0 XML Schema at codeplex.com
Where Can I get a copy of the RSS XML Schema? RSS XML Schema is an XML Schema that defines how an RSS XML document should be generated. If you are interested to know how to use an RSS XML Schema to generate RSS XML documents in C# language, you can look at the source code of "RSS 2.0 Schema" project...
2017-11-05, 685👍, 0💬

RSS Online Validator at w3.org
How to use the RSS Online Validator at w3.org? You can follow this tutorial to learn how to use the RSS Online Validator at w3.org. 1. Go to Feed Validation Service at w3.org. 2. Enter the following RSS feed in the input box: http://dev.fyicenter.com/rss_x ml.php3. Click the "Check" button. You see ...
2017-11-05, 683👍, 0💬

XML to JSON Conversion at jsonformatter.org
How to use the XML to JSON Conversion Tool at jsonformatter.org? If you want to try the XML to JSON Conversion Tool at jsonformatter.org, you can follow this tutorial: 1. Go to the JSON and XML Conversion Tool page at jsonformatter.org. 2. Enter the following XML document in the XML text area: &...
2018-03-18, 681👍, 0💬

"MyLibApp.cs" - Call VC# Class from Library
How to call a function from a VC# class provided in a library? If you want to call a function from a VC# class provided in a library, you can follow this tutorial: 1. Reference the shared function with the class name prefix: MyLib.PrintHello(); 2. See the following full source code example, MyLibApp...
2017-08-06, 680👍, 0💬

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