1 2 3 4 5 6 > >>   Sort: Rank

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, 163👍, 0💬

Interview Questions - HTML Table Elements
Where to find Interview Questions on HTML Table Elements? Here are some interview questions on HTML Table Elements: Can you place a "table" element inside a "p" element? What is a "tr" element? What is a "td" element? Can you place a "table" element inside a "td" element? Can you add text content in...
2017-02-28, 161👍, 0💬

Interview Questions - HTML General
Where to find Interview Questions on HTML General? Here are some interview questions on HTML General: Do you use any tools when authoring new HTML documents? Do you use any tools when converting HTML documents to XHTML? How to validate your XHTML documents? How comfortable are you with writing XHTML...
2017-02-28, 160👍, 0💬

Interview Questions - HTML Hyper Links and Images
Where to find Interview Questions on HTML Hyper Links and Images? Here are some interview questions on HTML Hyper Links and Images: What is a hyper link? What is a URL? How to included an image in the middle of a sentence? How to place an image to the right side of a paragraph? What is an image map?...
2017-02-28, 159👍, 0💬

Interview Questions - HTML Inline Elements
Where to find Interview Questions on HTML Inline Elements? Here are some interview questions: What is an inline element? Is "h1" an inline element? Is "br" an inline element? Is "strong" an inline element? Can you use an inline element inside a "p" element? Can you use an inline element inside a "li...
2017-02-28, 156👍, 0💬

What Is HTML?
What Is HTML? HTML (HyperText Markup Language) is the standard markup language for creating Web pages. Web browsers receive HTML documents from Websites and render them into Web pages. More precisely, HTML gives authors the means to: Publish Web pages with headings, text, tables, lists, photos, etc....
2017-02-20, 192👍, 0💬

Introduction of HTML
Where to find tutorials in understanding what is HTML? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team in understanding what is HTML. Clear answers are provided for frequently asked questions on what is HTML, HTML5, XHTML, Web, HTTP, XML, URL, URI...
2017-02-20, 185👍, 0💬

HTML Versions and Variations
What are versions and variations of the HTML starndard? HTML was developed by Tim Berners-Lee in 1980. Since then, a number of versions and variations of the HTML standard were published: HTML 5.1 was published as a W3C Recommendation on November 1, 2016. HTML5 was published as a W3C Recommendation ...
2017-02-20, 184👍, 0💬

HTML Tutorials
Where to find tutorials on HTML language? I want to know how to learn HTML. Here is a large collection of tutorials to answer many frequently asked questions compiled by FYIcenter.com team about HTML language: Introduction of HTML What Is HTML? HTML Versions and Variations HTML Document Example XHTM...
2017-02-20, 181👍, 0💬

HTML Document Example
What Does an HTML document look like? An HTML document is a normal text file with predefined tags mixed with the text contents of the document. Tags are enclosed in pairs of angle brackets: "<" and ">". Below is how a simple HTML document looks like if you open it in a text editor: <!DOCTYP...
2017-02-20, 176👍, 0💬

Uploading Files into Database in PHP
How To Upload Files into Database in PHP? To store uploaded files to MySQL database, you can use the normal SELECT statement as shown in the modified processing_uploaded_files.php listed below: <?php $con = mysql_connect("localhost", "", ""); mysql_select_db("fyi"); $error = $_FILES['fyicenter_lo...
2017-02-20, 263👍, 1💬

💬 2017-02-20 Jonas: Thanks for the sample code!

Adding Values to an Array without Keys in PHP
Can You Add Values to an Array without Keys in PHP? Can You Add Values to an Array with a Key? The answer is yes and no. The answer is yes, because you can add values without specifying any keys. The answer is no, because PHP will add a default integer key for you if you are not specifying a key. PH...
2017-02-03, 262👍, 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 "&". Here is a PHP scr...
2017-02-03, 253👍, 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, 242👍, 0💬

Index of Array Values in PHP
How Values in Arrays Are Indexed in PHP? Values in an array are all indexed their corresponding keys. Because we can use either an integer or a string as a key in an array, we can divide arrays into 3 categories: Numerical Array - All keys are sequential integers. Associative Array - All keys are st...
2017-02-03, 242👍, 0💬

Looping through an Array in PHP
How to Loop through an Array in PHP? The best way to loop through an array is to use the "foreach" statement. There are two forms of "foreach" statements: foreach ($array as $value) {} - This gives you only one temporary variable to hold the current value in the array. foreach ($array as $key=>$v...
2017-02-03, 237👍, 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, 308👍, 0💬

Counting the Number of Values in an Array in PHP
How To Get the Total Number of Values in an Array in PHP? You can get the total number of values in an array by using the count() function. Here is a PHP example script: <?php $array = array("PHP", "Perl", "Java"); print_r("Size 1: ".count($array)."\n"); $array = array(); print_r("Size 2: ".count...
2017-01-29, 270👍, 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, 269👍, 0💬

Order of Array Values in PHP
How the Values Are Ordered in an Array in PHP? PHP says that an array is an ordered map. But how the values are ordered in an array? The answer is simple. Values are stored in the same order as they are inserted like a queue. If you want to reorder them differently, you need to use a sort function. ...
2017-01-29, 250👍, 0💬

Verifying If a Key Exists in an Array in PHP
How Do You Know If a Key Is Defined in an Array in PHP? There are two functions can be used to test if a key is defined in an array or not: array_key_exists($key, $array) - Returns true if the $key is defined in $array. isset($array[$key]) - Returns true if the $key is defined in $array. Here is a P...
2017-01-29, 249👍, 0💬

Sorting an Array by Keys in PHP
How To Sort an Array by Keys in PHP? Sorting an array by keys can be done by using the ksort() function. It will re-order all pairs of keys and values based on the alphanumeric order of the keys. Here is a PHP script on how to use ksort(): <?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixed[1]...
2017-01-21, 294👍, 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(): <?php $mixed = array(); $mixed["Zero"] = "PHP"; $mixed[1] = "Perl"; $mixed["Two"] = "Java"; $mixed["3"] =...
2017-01-21, 284👍, 0💬

Finding a Given Value in an Array in PHP
How To Find a Specific Value in an Array in PHP? There are two functions can be used to test if a value is defined in an array or not: array_search($value, $array) - Returns the first key of the matching value in the array, if found. Otherwise, it returns false. in_array($value, $array) - Returns tr...
2017-01-21, 277👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank