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

Atom Validation Errors at w3.org
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3.org will detect the errors and provide information to help you to resolve them as shown in this tutorial: 1. Go to Feed Validation Service at w3.org. 2. Click the "Validate by Direct Input" tab. You ...
2017-12-31, 1234👍, 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, 1234👍, 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, 1230👍, 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, 1228👍, 0💬

RSS Validation Errors at w3.org
How to read RSS validation errors at w3.org? If your RSS feed has errors, the RSS validator at w3.org will detect the errors and provide information to help you to resolve them as shown in this tutorial: 1. Go to Feed Validation Service at w3.org. 2. Click the "Validate by Direct Input" tab. You see...
2017-10-16, 1227👍, 0💬

json_decode() - JSON Object to PHP Associative Array
How to convert JSON Objects to PHP Associative Arrays using the json_decode() function? Actually, JSON Objects match better with PHP Associative Arrays than PHP Objects. You can force json_decode() function to turn return PHP Associative Arrays for any JSON Objects by giving the second argument as "...
2018-03-04, 1226👍, 0💬

Setting session.gc_divisor Properly in PHP
How To Set session.gc_divisor Properly in PHP? As you know that session.gc_divisor is the frequency of when the session garbage collection process will be executed. You should set this value based on the income request traffic. Here are some suggestions: # Set it to 10, if traffic is less than 10,00...
2016-10-24, 1222👍, 0💬

json_encode() Function in PHP
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed description of the json_encode() Function in PHP. Description - The json_encode() function generates a JSON text string that represents the given PHP value. Syntax - string json_encode ( mixed $value [, ...
2018-03-04, 1218👍, 0💬

"MyLib.vb" - VB Class and Library
How to create a VB class and build it into a library? If you want to create a VB class and build it into a library, you can follow this tutorial: 1. Create the class source code file, MyLib.vb, with a text editor: ' MyLib.vb ' Copyright (c) FYIcenter.com Public Class MyLib Public Shared Sub PrintHel...
2017-08-13, 1218👍, 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, 1215👍, 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, 1196👍, 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, 1193👍, 0💬

"MyLib.cs" - VC# Class and Library
How to create a VC# class and build it into a library? If you want to create a VC# class and build it into a library, you can follow this tutorial: 1. Create the class source code file, MyLib.cs, with a text editor: // MyLib.cs // Copyright (c) FYIcenter.com using System; namespace fyi { public clas...
2017-08-06, 1193👍, 0💬

Hello-2.0.epub Validation by EpubCheck
How to validate an EPUB 2.0.1 file with EpubCheck 4.0.2? If you want to validate an EPUB 2.0.1 book file, you can try this command: \fyicenter&gt;java -jar epubcheck-4.0.2\epubcheck.jar Hello-2.0.epub Validating using EPUB version 2.0.1 rules. No errors or warnings detected. epubcheck completed ...
2021-04-15, 1170👍, 0💬

3Pigs4-3.0.epub - Cover Image and Page
How to add a cover image to my EPUB books If you want to add a cover image to your EPUB 3.1 book, you should consider to two related components: Cover Image - An image file that is specified as the Cover Image of the book. Cover Page - An XHTML content file that is displayed as part of the book cont...
2018-08-14, 1164👍, 0💬

Use &amp;amp; in '@(...)' Expressions
How to enter &amp;amp; entity in '@(...)' expressions? If you want to enter the &amp;amp; sequence in a '@(...)' expressions, you must enter it as &amp;amp;amp;. This is because all XML entities will be decoded immediately, when Azure process the policy XML document. For example, the fol...
2017-11-12, 1164👍, 0💬

"MyLibApp.vb" - Call VB Class from Library
How to call a function from a VB class provided in a library? If you want to call a function from a VB 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.v...
2017-08-13, 1162👍, 0💬

'@(...)' Expressions in Azure API Policy
How to use the "@(...)" expression in Azure API Policy? The "@(...)" expression in Azure API Policy can be used to include a single C# expression as the attribute value or text value in most policy statements. When a "@(...)" expression is included in a policy statement, the C# expression will be ev...
2018-02-14, 1161👍, 0💬

Joining Keys and Values into an Array in PHP
How To Join a List of Keys with a List of Values into an Array in PHP? If you have a list keys and a list of values stored separately in two arrays, you can join them into a single array using the array_combine() function. It will make the values of the first array to be the keys of the resulting ar...
2017-01-11, 1161👍, 0💬

EPUB 2.0 Package Metadata
Where to find tutorials on EPUB 2.0 Package Metadata? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on EPUB 2.0 Package Metadata. What Is EPUB 2.0 Package Metadata EPUB 2.0 Metadata - dc:identifier Element EPUB 2.0 Metadata - dc:title Element EP...
2021-04-15, 1160👍, 0💬

Copying Array Values to a List of Variables in PHP
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a list of variable, you can use the list() construct on the left side of an assignment operator. list() will only take values with integer keys starting from 0. Here is a PHP script on how to use list(...
2017-01-29, 1160👍, 0💬

3Pigs2-3.0.epub - Multiple XHTML Files
Can I divide the book content into multiple XHTML files? Yes, you can divide the book content into multiple XHTML files. If your has multiple chapters, you should consider to create one XHTML file per chapter. For example, you can download this EPUB book, 3Pigs2-3.0.epub, which has "The Three Little...
2018-11-11, 1158👍, 0💬

Hello-3.0.epub - Content File: content.xhtml
How to create a content file like content.xhtml for an EPUB 3.1 book? At least one content file, like content.xhtml, is required for an EPUB 3.1 book in the book ZIP container. It provides the content of the book. Here is the requirement on a content file: 1. A content file must be named with .xhtml...
2018-11-29, 1150👍, 0💬

'choose ... when ...' Statements to Control Execution Flows
How to use 'choose ... when ..." policy statements to control execution flows? If you want to control execution flows in Azure API management process, you can use the 'choose ... when ..." policy statement. The "choose ... when ..." statement has the following syntax: &lt;choose&gt; &lt;...
2018-01-19, 1150👍, 0💬

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