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

"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, 1150👍, 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, 1149👍, 0💬

'valign' - Vertical Alignment in HTML Table
How To Control Vertical Alignment? By default, text in all table cells are aligned to the top vertically. If you want to control vertical alignment yourself, you need to use the "valign" attribute in a "tr" element or a "td" element: &lt;tr valign="top|middle|bottom"& ;gt;- Set vertical align...
2017-05-05, 1149👍, 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, 1148👍, 0💬

View Atom Feeds with IE (Internet Explorer)
How to View Atom Feeds with IE (Internet Explorer)? If you want to view Atom Feeds with IE (Internet Explorer), you can follow this tutorial: 1. Launch IE (Internet Explorer) 11. 2. Enter the following in the URL input box: http://dev.fyicenter.com/atom_ xml.php3. Press "Enter" key. You see the Atom...
2017-12-31, 1146👍, 0💬

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, 1145👍, 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, 1139👍, 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, 1136👍, 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, 1131👍, 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, 1128👍, 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, 1128👍, 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, 1119👍, 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, 1118👍, 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, 1111👍, 0💬

Data Types of Array Keys in PHP
What Types of Data Can Be Used as Array Keys in PHP? Two types of data can be used as array keys: string and integer. When a string is used as a key and the string represent an integer, PHP will convert the string into a integer and use it as the key. Here is a PHP script on different types of keys:...
2017-02-03, 1105👍, 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, 1092👍, 0💬

Creating HTML Table Borders
How To Create Table Borders? There are two sets of borders within a table: Outer Borders - Borders that around the outer edges of the table. Inner Borders - Borders between table cells. If you want to create table outer borders and inner borders, you can use the "border" attribute, which offers two ...
2017-05-13, 1087👍, 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, 1085👍, 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, 1080👍, 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, 1076👍, 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, 1076👍, 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, 1071👍, 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, 1069👍, 0💬

'while ... else' Repeating Statement Blocks
How to enter "while ... else" statement blocks in Python code? "while ... else" statement blocks allow you to execute the main statement block repeatedly. When "while ... else" statement blocks are interpreted, the "while" statement block will be executed repeatedly until the given condition returns...
2018-02-28, 1066👍, 0💬

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