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

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

XML to JSON Conversion at utilities-online.info
How to use the XML to JSON Conversion Tool at utilities-online.info? If you want to try the XML to JSON Conversion Tool at utilities-online.info, you can follow this tutorial: 1. Go to the XML to JSON Conversion Tool page at utilities-online.info. 2. Enter the following XML document in the XML text ...
2018-03-18, 1256👍, 0💬

EPUB 2.0 Metadata - dc:description Element
What is EPUB 2.0 Metadata "dc:description" Element? EPUB 2.0 Metadata "dc:description" is an optional metadata element to specify a long description of the EPUB 2.0 book. Here is a good example of a "dc:description" metadata element &lt;dc:description&gt; "Row,Row, Row Your Boat" is a popula...
2019-01-26, 1248👍, 0💬

Creating a Database Table to Store Files in PHP
How To Create a Table To Store Files in PHP? If you using MySQL database and want to store files in database, you need to create BLOB columns, which can holds up to 65,535 characters. Here is a sample script that creates a table with a BLOB column to be used to store uploaded files: &lt;?php $co...
2016-10-14, 1248👍, 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, 1241👍, 0💬

json_decode() - JSON Array to PHP Array
How to access elements from the PHP array returned from json_decode() on a JSON array? By default, json_decode() will convert a JSON Array to a PHP array with integer indexes of 0, 1, 2, ... There are different ways to access elements in the output PHP array: $array[i] - Returns the element of the g...
2018-03-04, 1236👍, 0💬

Using urllib.request.Request Object
How to use the urllib.request.Request object to build more complex HTTP request? The urllib.request.urlopen() function can take a urllib.request.Request object to let you building more complex HTTP requests. You can use the Request() constructor to build a Request object: q = urllib.request.Request(...
2018-09-13, 1233👍, 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, 1233👍, 0💬

Returning a Reference from a Function in PHP
How To Return a Reference from a Function? in PHP? To return a reference from a function, you need to: Add the reference operator "&amp;" when defining the function. Add the reference operator "&amp;" when invoking the function. Here is a PHP script on how to return a reference from a functi...
2016-12-08, 1230👍, 0💬

Atom XML Schema at ogcnetwork.net
Where Can I get a copy of the Atom XML Schema? A XSD (XML Schema Definition) file contains a set of definitions of XML elements and attributes to form a new XML based specification. The same DTD file can be used to validate XML files that comply with the new specification. Atom feed is an XML based ...
2018-01-06, 1229👍, 0💬

Writing a String to a File with a File Handle in PHP
How To Write a String to a File with a File Handle in PHP? If you have a file handle linked to a file opened for writing, and you want to write a string to the file, you can use the fwrite() function. It will write the string to the file where the file pointer is located, and moves the file pointer ...
2016-11-27, 1229👍, 0💬

json_decode() - JSON Object to PHP Object
How to access properties from the PHP object returned from json_decode() on a JSON object? By default, json_decode() will convert a JSON Object to a PHP object of the default class "stdClass". There are different ways to access properties in the output PHP object: $obj-&gt;property_name - Return...
2018-03-04, 1220👍, 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, 1220👍, 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, 1220👍, 0💬

Using an Array as a Queue in PHP
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements following the first-in-first-out rule. You use the following two functions together to use an array as a queue: array_push($array, $value) - Pushes a new value to the end of an array. The value will ...
2017-01-11, 1209👍, 0💬

What Is RSS (Rich Site Summary)
What Is RSS (Rich Site Summary)? RSS (Really Simple Syndication) is a type of Web syndication or feed in XML format which allows users to access updates of a Website in a standardized format. RSS originally called RDF (Resource Description Framework) Site Summary. RSS is also called Rich Site Summar...
2018-01-08, 1206👍, 0💬

Retrieving All Values from an Array in PHP
How To Get All the Values Out of an Array in PHP? Function array_values() returns a new array that contains all the values of a given array. Here is a PHP script on how to use array_values(): &lt;?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixed[1] = "Perl"; $mixed["Two"] = "Java"; $mixed["3...
2017-01-21, 1206👍, 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, 1204👍, 0💬

Inserting Rows Based on SELECT Statement in PHP
How To Insert Rows Based on SELECT Statements in PHP? If want to insert rows into a table based on data rows from other tables, you can use a sub-query inside the INSERT statement as shown in the following script example: &lt;?php include "mysql_connection.php"; $sql = "INSERT INTO fyi_links" . ...
2016-10-20, 1204👍, 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, 1203👍, 0💬

JSON to XML Conversion at utilities-online.info
How to use the JSON to XML Conversion Tool at utilities-online.info? If you want to try the JSON to XML Conversion Tool at utilities-online.info, you can follow this tutorial: 1. Go to the JSON and XML Conversion Tool page at utilities-online.info. 2. Enter the following JSON value in the JSON text ...
2018-03-18, 1199👍, 0💬

Using .NET CLR Types in Azure API Policy
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common Language Runtime) types into the API policy execution environment. Imported .NET CLR types can be used in any "@(...)" expressions or "@{...}" expression blocks. For example, the following "@{...}" e...
2018-01-24, 1192👍, 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, 1192👍, 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, 1190👍, 0💬

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