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

Defining an Array Argument as Reference in PHP
Can You Define an Array Argument as a Reference Type? in PHP? You can define an array argument as a reference type in the function definition. This will automatically convert the calling arguments into references. Here is a PHP script on how to define an array argument as a reference type: &lt;?...
2016-12-18, 417👍, 0💬

Start Visual Studio Command Prompt
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C++ environment installed. If you have Visual Studio 2017 Community version with Visual C++ environment installed, you can follow this tutorial to start Visual Studio Command Prompt: 1. Run "All Progra...
2017-08-21, 415👍, 0💬

HTML Anchor 'a' Tag/Element
What Is an Anchor "a" Tag/Element? An "a" element is an inline element that you can use to specify a hyper link in your HTML document. An "a" element can also be used to define a bookmark in your HTML document. Here are basic rules about "a" elements: "a" elements are inline elements. "a" elements c...
2017-07-15, 415👍, 0💬

Using HTML 'password' Input Fields
How To Use "password" Input Fields? A "password" input field is defined as &lt;input type="password" .../&gt;. A "password" input field can be used to create an input field to allow viewers to enter text strings or numbers without showing the entered in clear text. A "password" input field i...
2017-04-15, 414👍, 0💬

Interview Questions - HTML Forms and Input Fields
Where to find Interview Questions on HTML Forms and Input Fields? Here are some interview questions on HTML Forms and Input Fields: What is a form? What elements can you use to submit a form? When a form is submitted, where the data is delivered to? What is a hidden input field? How to create a grou...
2017-02-28, 412👍, 0💬

Hyper Link Points to a ZIP File
What Happens If a Hyper Link Points to a ZIP File? If you want to build a hyper link to allow visitors to access a ZIP file by clicking a hyper link, you can put the URL of the ZIP file directly in the "href" attribute of the hyper link. If a visitor clicks the link, the browser will fetch the PDF f...
2017-07-03, 411👍, 0💬

HTML Lists and List Items
Where to find tutorials of introduction to HTML Lists and List Items? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in introduction to HTML Lists and List Items. Clear answers are provided with tutorial examples on list elements for ordered list...
2017-06-16, 411👍, 0💬

Joining Array Values into a Single String in PHP
How To Join Multiple Strings Stored in an Array into a Single String in PHP? If you multiple strings stored in an array, you can join them together into a single string with a given delimiter by using the implode() function. Here is a PHP script on how to use implode(): &lt;?php $date = array('0...
2017-01-05, 411👍, 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, 411👍, 0💬

HTML Keywords 'meta' Tag/Element
What Is the HTML Keywords "meta" Tag/Element? The keywords "meta" element is a special meta element that provides a list of keywords about the HTML document. The keywords "meta" element must include the "name" attribute as, name="keywords". Here is an example: &lt;meta name="keywords" content="X...
2017-06-23, 410👍, 0💬

"link" - Link Object Files (*.obj)
How to use "link" command tool to link objet files? If you have object files previously compiled by your or others, you can follow this tutorial to link them into executable files: 1. Create a simple C++ program, Hello.cpp, with a text editor: #include &lt;iostream&gt; using namespace std; v...
2017-08-21, 409👍, 0💬

Function Returns Data by Value in PHP
How Values Are Returned from Functions? in PHP? If a value is returned from a function, it is returned by value, not by reference. That means that a copy of the value is return. Here is a PHP script on how values are returned from a function: &lt;?php $favor = "vbulletin"; function getFavor() { ...
2016-12-08, 409👍, 0💬

Opening a File for Writing in PHP
How To Open a File for Writing in PHP? If you want to open a new file and write date to the file, you can use the fopen($fileName, "w") function. It creates the specified file, and returns a file handle. The second argument "w" tells PHP to open the file for writing. Once the file is open, you can u...
2016-12-02, 408👍, 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, 408👍, 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, 407👍, 0💬

Defining a User Function in PHP
How To Define a User Function? in PHP? You can define a user function anywhere in a PHP script using the function statement like this: "function name() {...}". Here is a PHP script example on how to define a user function: &lt;?php function msg() { print("Hello world!\n"); } msg(); ?&gt; Thi...
2016-12-28, 407👍, 0💬

'rowspan' - Merging Cells HTML Table Columns
How To Merge Cells in a Column? If you want to merge multiple cells vertically in a row, you need to use the "rowspan" attribute of in a "td" element. "rowspan" allows you to specify how many cells you want to merge into this cell vertically. Below is a tutorial example of merging cells vertically: ...
2017-04-22, 406👍, 0💬

Using HTML 'submit' Action Fields
How To Use "submit" Input/Action Fields? A "submit" input field is defined as &lt;input type="submit" .../&gt;. "submit" input fields can be used to create submit buttons in a form. When a submit button is clicked, the form will be closed and input data will be submitted to the processing pr...
2017-04-08, 406👍, 0💬

Using HTML 'submit' Action Fields
How To Use "submit" Input/Action Fields? A "submit" input field is defined as &lt;input type="submit" .../&gt;. "submit" input fields can be used to create submit buttons in a form. When a submit button is clicked, the form will be closed and input data will be submitted to the processing pr...
2017-04-08, 406👍, 0💬

Supporting Hidden Form Fields in PHP
How To Support Hidden Form Fields in PHP? Hidden fields are special fields in a form that are not shown on the Web page. But when the form is submitted, values specified in the hidden fields are also submitted to the Web server. A hidden field can be specified with the &lt;INPUT TYPE=HIDDEN ...&...
2016-11-08, 406👍, 0💬

What Is a Persistent Cookie in PHP
What Is a Persistent Cookie in PHP? A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. Yo...
2016-11-04, 406👍, 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, 406👍, 0💬

Attributes of an HTML 'img' Element
What Are the Attributes of an "img" Element? There are 4 commonly used attributes for an "img" element: "src" - Required attribute. Used to specify the URL of the image file. "alt" - Required attribute. Used to specify the name of the image. "width" - Optional attribute. Used to specify the width of...
2017-03-27, 405👍, 0💬

Retrieving the Original Query String in PHP
How To Retrieve the Original Query String in PHP? If you have coded some values in the URL without using the standard form GET format, you need to retrieve those values in the original query string in $_SERVER['QUERY_STRING']. The script below is an enhanced version of processing_forms.php which pri...
2016-11-05, 405👍, 0💬

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