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

EPUB 2.0 Metadata in Calibre Book Library
How to view EPUB 2.0 metadata in Calibre book Library? You can follow this tutorial to view EPUB 2.0 metadata in Calibre book library. 1. Click Row-Your-Boat-2.0.epub to download this sample EPUB 2.0 book. 2. Unzip and open package.opf. You see the following metadata elements: &lt;package xmlns=...
2019-01-12, 947👍, 0💬

Issue with "while ($c=fgetc($f))" Loop in PHP
What's Wrong with "while ($c=fgetc($f)) {}" in PHP? If you are using "while ($c=fgetc($f)) {}" to loop through each character in a file, the loop may end in the middle of the file when there is a "0" character, because PHP treats "0" as Boolean false. To properly loop to the end of the file, you sho...
2016-11-27, 943👍, 0💬

PHP Built-in Functions for Arrays
Where to find tutorials on how to use PHP built-in functions to manage arrays? A collection of tutorials to answer many frequently asked questions on how to PHP functions to manage arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two ar...
2017-01-29, 941👍, 0💬

Supporting a Multiple-Page Form in PHP
How To Support Multiple-Page Forms in PHP? If you have a long form with a lots of fields, you may want to divide the fields into multiple groups and present multiple pages with one group of fields on one page. This makes the a long form more user-friendly. However, this requires you to write good sc...
2016-11-05, 941👍, 0💬

Specifying Argument Default Values in PHP
How To Specify Argument Default Values? in PHP? If you want to allow the caller to skip an argument when calling a function, you can define the argument with a default value when defining the function. Adding a default value to an argument can be done like this "function name($arg=expression){}. Her...
2016-12-04, 940👍, 0💬

Filtering Out Empty Files in PHP
Why Do You Need to Filter Out Empty Files in PHP? When you are processing uploaded files, you need to check for empty files, because they could be resulted from a bad upload process but the PHP engine could still give no error. For example, if a user typed a bad file name in the upload field and sub...
2016-10-14, 940👍, 0💬

Generating and Processing Form with the Same Script in PHP
How To Generate and Process a Form with the Same Script in PHP? In previous exercises, a Web form is generated by one script, and processed by another script. But you could write a single script to do both. You just need to remember to: Use same script name as the form generation script in the "acti...
2016-11-08, 936👍, 0💬

View API Details on Publisher Dashboard
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follow this tutorial to view detailed information of API on the Publisher Dashboard of an Azure API Management Service. Click on the API name from the API list to open it. You see detailed information of t...
2018-03-31, 935👍, 0💬

'align' - Horizontal Alignment HTML Tables
How To Control Horizontal Alignment in Table Cells? By default, text in all table cells are aligned to the left horizontally. If you want to control horizontal alignment yourself, you need to use the "align" attribute in a "tr" element or a "td" element: &lt;tr align="left|center|right"& gt;...
2017-05-05, 934👍, 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, 929👍, 0💬

Using an Array as a Stack in PHP
How To Use an Array as a Stack in PHP? A stack is a simple data structure that manages data elements following the first-in-last-out rule. You use the following two functions together to use an array as a stack: array_push($array, $value) - Pushes a new value to the end of an array. The value will b...
2017-01-11, 927👍, 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, 922👍, 0💬

3Pigs3-3.1.epub - Add Images
How to add images to my EPUB books Images can be added into book content using the XHTML "img" elements. For example, you can download this EPUB book, 3Pigs3-3.1.epub, which contains an illustration image in the The-Opening.xhtml: &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;html xml...
2018-12-26, 907👍, 0💬

Hello-3.0.epub Created with WinRAR
How to create Hello-3.0.epub with WinRAR? I have all required files to create Hello-3.0.epub. To create the EPUB 3.0 example, Hello-3.0.epub, you need to collect all files mentioned from previous tutorials: |-- mimetype |-- package.opf |-- content.xhtml |-- navigation.xhtml |-- META-INF |-- containe...
2018-11-11, 906👍, 0💬

JSON.stringify() Function in JavaScript
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the detailed description of the JSON.stringify() Function in JavaScript. Description - The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer fun...
2017-09-08, 906👍, 0💬

Running a PHP Script
How To Run a PHP Script? A standard alone PHP script can be executed directly with the PHP Command Line Interface (CLI). Write the following script in a file called hello.php: &lt;?php echo "Hello world!"; ?&gt; This script can be executed by CLI interface like this: \php\php hello.php You s...
2016-10-13, 905👍, 0💬

Copying an Array in PHP
Can You Copy an Array in PHP? You can create a new array by copying an existing array using the assignment statement. Note that the new array is not a reference to the old array. If you want a reference variable pointing to the old array, you can use the reference operator "&amp;". Here is a PHP...
2017-02-03, 885👍, 0💬

What Is Azure API Management Service
What Is Azure API Management Service? Azure API Management as a turnkey solution for publishing APIs to external and internal customers. Quickly create consistent and modern API gateways for existing back-end services hosted anywhere, secure and protect them from abuse and overuse, and get insights ...
2018-10-30, 884👍, 0💬

FYIcenter JSON Validator and Formatter
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text string and converts it to a pretty format.
2017-11-25, 884👍, 2💬

💬 2017-11-25 Eric: Agree.

💬 2017-08-13 Neil: Not too bad!

Add Request URL Template Parameters - 2017 Version
How to add request URL Template Parameters to my Azure API operation 2017 version to make it more user friendly? If your API Operation requires some key parameters, you put them as template parameters in the URL template of the operation. Using template parameters reduces the need for providing para...
2018-06-12, 882👍, 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, 879👍, 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, 879👍, 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, 877👍, 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, 875👍, 0💬

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