<< < 17 18 19 20 21 22 23 24 25 26 27 > >>   ∑:1482  Sort:Date

Testing If a Variable Is an Array in PHP
How To Test If a Variable Is an Array in PHP? Testing if a variable is an array is easy. Just use the is_array() function. Here is a PHP script on how to use is_array(): &lt;?php $var = array(0,0,7); print("Test 1: ". is_array($var)."\n"); $var = array(); print("Test 2: ". is_array($var)."\n"); ...
2016-10-15, ∼2519🔥, 0💬

Test Azure AD B2C User Flow
How to test a user flow defined as a policy in my Azure AD B2C directory? After you have defined a user flow in a policy in your Azure AD B2C directory, you can test it before you connect it to your application. 1. Sign in to the Azure portal as the global administrator of your Azure AD B2C tenant. ...
2019-02-18, ∼2518🔥, 0💬

Google Chrome Showing Atom Feeds as XML
Why is Google Chrome Showing Atom Feeds as XML? Google Chrome is showing Atom Feeds as XML, because it has stopped the support of formatted viewing of Atom feeds by default. Follow this tutorial to see this behavior: 1. Launch Google Chrome 60. 2. Enter the following in the URL input box: http://dev...
2017-12-31, ∼2517🔥, 0💬

Taking a Substring in PHP
How To Take a Substring from a Given String? If you know the position of a substring in a given string, you can take the substring out by the substr() function. Here is a PHP script on how to use substr(): &lt;?php $string = "beginning"; print("Position counted from left: ".substr($string,0,5)."...
2016-10-13, ∼2517🔥, 0💬

Atom Better than RSS
Should I use Atom or RSS? Which one is better? At a higher level, Atom and RSS are doing the job, offering a format for Websites to publish their news feeds. But if you take a closer look, Atom does a better job than RSS in several areas. For example: Atom has better date format - Atom uses the ISO ...
2017-09-28, ∼2516🔥, 0💬

Number of Cookies Supported in PHP
How Many Cookies Can You Set in PHP? How many cookies can you set in your PHP page? The answer is depending what is the Web browser your visitor is using. Each browser has its own limit: Internet Explorer (IE): 20 Mozilla Firefox: 50 If you want to test this limit, copy this sample script, how_many_...
2016-10-30, ∼2516🔥, 0💬

Start Python in Interactive Mode
How to Start Python in Interactive Mode on my Windows computer? You can start Python in interactive mode on your Windows computer in several ways: 1. "python" in command window - In a command window, enter the "python" command. If the python installation folder is in the PATH environment variable, t...
2023-01-06, ∼2513🔥, 0💬

Using MySQL Command Line Interface in PHP
How To Use MySQL Command Line Interface in PHP? MySQL server comes with a command line interface, which will allow you to operate with the server with SQL statements and other commands. To start the command line interface, you can run the \mysql\bin\mysql program. The tutorial exercise below shows y...
2016-10-22, ∼2511🔥, 0💬

Hello-3.1.epub - Package File: package.opf
How to create a package file like package.opf for an EPUB 3.1 book? At least one package file, like package.opf, is required for an EPUB 3.1 book in the book ZIP container. It defines required meta data and specifies 2 required content files. Here is the requirement on a package file: 1. A package f...
2022-05-31, ∼2510🔥, 0💬

3Pigs6-3.0.epub - XHTML pre Element
Does EPUB support XHTML "pre" elements? Yes. EPUB 3.1 does support XHTML "pre" elements. EPUB readers will display "pre" elements with a monospace font. Text lines within "pre" elements will be displayed without wrapping. So if you have long lines in "pre" elements, text will be truncated on the rig...
2018-08-14, ∼2510🔥, 0💬

re.split() - Splits with Regular Expression
How to split a given string with a regular expression as the delimiter using re.split()? The re.split() function allows you to split a given target string using matches of a given regular expression as the delimiter. import re l = re.split(pattern, string, maxsplit=0, flags=0) Where: pattern is the ...
2018-10-13, ∼2509🔥, 0💬

Understanding PHP Arrays and Their Basic Operations
Where to find tutorials in Understanding PHP Arrays and Their Basic Operations? A collection of tutorials to answer many frequently asked questions on basic understanding of PHP arrays. Clear answers are provided with tutorial exercises on declaring and creating arrays, assigning and retrieving arra...
2016-10-15, ∼2509🔥, 0💬

Hello-3.1.epub - Navigation File: navigation.xhtml
How to create a navigation file like navigation.xhtml for an EPUB 3.1 book? At least one navigation file, like navigation.xhtml, is required for an EPUB 3.1 book in the book ZIP container. It provides navigation information like a table of contents of the book. Here is the requirement on a navigatio...
2021-08-11, ∼2508🔥, 0💬

Including Array Elements in Double-Quoted Strings in PHP
How Many Ways to Include Array Elements in Double-Quoted Strings? There are 2 formats to include array elements in double-quoted strings: "part 1 $array[key] part 2" - This is called simple format. In this format, you can not specify the element key in quotes. "part 1 {$array['key']} part 2" - This ...
2016-10-13, ∼2508🔥, 0💬

Read Block Data in Blockchain
How to Read Block Data from a Blockchain? The block data from a blockchain uses a binary format. You need to use the "configtxgen -inspectBlock" command parse it to JSON format. 1. Get the newest block from the blockchain: $ docker exec -it cli bash root@262918fdcbc0:/opt/gopath/ src/github.com/hyper...
2020-02-20, ∼2504🔥, 0💬

Using Atom Tools
Where to find tutorials on Using Atom Tools? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Using Atom Tools: Atom Online Validators Atom Online Validator at w3.org Atom Validation Errors at w3.org View Atom Feeds with IE (Internet Explorer) G...
2018-01-06, ∼2502🔥, 0💬

MySQLConnection.cursor() and MySQLCursor.execute()
How to use MySQLCursor to run MySQL statements with "mysql.connector" module? "mysql.connector" module provides you 2 ways to run MySQL statements: 1. Use con.cmd_query() - If you don't want to receive any data back from the MySQL server, you can use the MySQLConnection.cmd_query() method to run MyS...
2021-09-09, ∼2500🔥, 0💬

What Is Python Interactive Mode
What Is Python Interactive Mode? Python Interactive Mode allows you to use Python as an interpreted language. When running in interactive mode, Python will: Prompt you to enter one statement or statement block at a time. Execute the statement or statement block immediately. Print back the result if ...
2018-04-12, ∼2500🔥, 0💬

View Atom Feeds with Mozilla Firefox
How to View Atom Feeds with Mozilla Firefox? If you want to view Atom Feeds with Mozilla Firefox, you can follow this tutorial: 1. Launch Mozilla Firefox 55. 2. Enter the following in the URL input box: http://dev.fyicenter.com/atom_ xml.php3. Press "Enter" key. You see the Atom feed items displayed...
2017-12-26, ∼2500🔥, 0💬

Passing Variables by References in PHP
How To Pass Variables By References? in PHP? You can pass a variable by reference to a function by taking the reference of the original variable, and passing that reference as the calling argument. Here is a PHP script on how to use pass variables by references: &lt;?php function swap($a, $b) { ...
2016-12-24, ∼2499🔥, 0💬

Nested HTML 'div' Elements
Can "div" Elements Be Nested? Can "div" elements be nested? The answer is yes. In fact, nested "div" elements provides you more flexibilities to specify CSS properties at different levels. Here is a tutorial example of nested "div" elements: &lt;?xml version="1.0" ?&gt; &lt;!DOCTYPE html...
2017-03-11, ∼2495🔥, 0💬

Number of Elements Defined in HTML5?
How Many Elements Are Defined in HTML5? There are 105 elements defined in HTML5: The root element: html Document metadata elements: head, title, base, link, meta, style Section elements: body, article, section, nav, aside, h1, h2, h3, h4, h5, h6, header, footer, address Grouping elements: p, hr, pre...
2024-03-07, ∼2491🔥, 0💬

Retrieving Directory Name from File Path Name in PHP
How To Get the Directory Name out of a File Path Name in PHP? If you have the full path name of a file, and want to get the directory name portion of the path name, you can use the dirname() function. It breaks the full path name at the last directory path delimiter (/) or (\), and returns the first...
2016-11-20, ∼2491🔥, 0💬

What Is Python Module 'urllib'
What Is Python module "urllib"? "urllib" is a Python internal module that allows you to communicate with Internet resources that are represented by URLs. Two main Internet protocols are supported: HTTP and FTP. The current version of "urllib" module is divided into 4 sub-modules: urllib.request - fo...
2018-09-24, ∼2488🔥, 0💬

<< < 17 18 19 20 21 22 23 24 25 26 27 > >>   ∑:1482  Sort:Date