<< < 18 19 20 21 22 23 24 25 26 27 28 > >>   Sort: Date

require(), include() and include_once() Functions
What are the differences between require(), include() and include_once() functions in PHP? All three functions are used to include and evaluate a file into the current script execution. The include_once() statement includes and evaluates the specified file during the execution of the script. This is...
2007-02-27, 6066👍, 0💬

How To Quote Date and Time Values in SQL Statements
How To Quote Date and Time Values in SQL Statements? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts If you want to provide date and time values in a SQL statement, you should write them in the format of "yyyy-mm-dd hh:mm:ss", and quoted with single quotes ('). The tutorial exerc...
2007-05-11, 6065👍, 0💬

URL with or whithout Domain Names
How can I avoid using the whole URL? The URL structure defines a hierarchy (or relationship) that is similar to the hierarchy of subdirectories (or folders) in the filesystems used by most computer operating systems. The segments of a URL are separated by slash characters ("/"). When navigating the ...
2007-03-03, 6065👍, 0💬

sleep() and yield() Methods
What is the difference between yielding and sleeping? When a thread invokes its yield() method, it returns to the ready state. When a thread invokes its sleep() method, it returns to the waiting state.
2007-03-03, 6065👍, 0💬

How To Update Existing Rows in a Table
How To Update Existing Rows in a Table? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts Updating existing rows in a table requires to run the UPDATE statement with a WHERE clause to identify the row. The following sample script updates one row with two new values: &lt;?php in...
2007-05-11, 6064👍, 0💬

How To Invoke a User Function
How To Invoke a User Function? - PHP Script Tips - Creating Your Own Functions You can invoke a function by entering the function name followed by a pair of parentheses. If needed, function arguments can be specified as a list of expressions enclosed in parentheses. Here is a PHP script example on h...
2007-04-24, 6064👍, 0💬

What is the design role played by Struts
What is the design role played by Struts? The role played by Structs is controller in Model/View/Controller(MVC) style. The View is played by JSP and Model is played by JDBC or generic data source classes. The Struts controller is a set of programmable components that allow developers to define exac...
2007-11-30, 6063👍, 0💬

How To Initialize Variables with Default Values
How To Initialize Variables with Default Values? - Oracle DBA FAQ - Understanding PL/SQL Language Basics There are two ways to assign default values to variables at the time of declaration: Using key word DEFAULT - Appending "DEFAULT value" to the end of declaration statements. Using assignment oper...
2007-04-30, 6062👍, 0💬

What Happens When FireFox Knows a Web Page Has Atom Feeds
What Happens When FireFox Knows a Web Page Has Atom Feeds? - RSS FAQs - Atom Feed Introduction and File Generation When you use a FireFox browser visiting a Web page that has an Atom feed define, FireFox will display a "live bookmark" icon in the status bar. You can click the "live bookmark" to add ...
2007-05-12, 6060👍, 0💬

How To Convert Character Strings to Dates
How To Convert Character Strings to Dates? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a character string that represents a date, and you want to convert it into a date value, you can use the STR_TO_DATE(string, format) function. STR_TO_DATE() shares the same formatting cod...
2007-05-11, 6058👍, 0💬

What Is InnoDB
What Is InnoDB? - MySQL FAQs - Database Basics and Terminologies InnoDB is a transaction safe storage engine developed by Innobase Oy (an Oracle company now).
2007-05-10, 6058👍, 0💬

How do you convert numbers between different bases in JavaScript?
How do you convert numbers between different bases in JavaScript? Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16);
2008-04-29, 6057👍, 0💬

Writing HTML Documents Entirely by Hand
How comfortable are you with writing HTML documents entirely by hand? Very. I do not usually use WYSIWYG. The only occasions when I do use Dreamweaver are when I want to draw something to see what it looks like, and then I will usually either take that design and hand-modify it or build it all over ...
2007-03-03, 6053👍, 0💬

What is the difference between a NULL pointer and a void pointer
What is the difference between a NULL pointer and a void pointer? A NULL pointer is a pointer of any type whose value is zero. A void pointer is a pointer to an object of an unknown type, and is guaranteed to have enough bits to hold a pointer to any object. A void pointer is not guaranteed to have ...
2007-11-13, 6051👍, 0💬

How Struts control data flow
How Struts control data flow? Struts implements the MVC/Layers pattern through the use of ActionForwards and ActionMappings to keep control-flow decisions out of presentation layer.
2007-11-30, 6043👍, 0💬

How To Create an Image with Text
How To Create an Image with Text? - PSP Tutorials - Fading Images to Background Colors with PSP You can follow the steps below to create a new image with some text: Go to menu: File > New. You will get the New Image dialog box. Enter Width: 728; Height: 90; Background color: White. Click OK. You wil...
2007-05-12, 6039👍, 0💬

What are the core classes of Struts
What are the core classes of Struts? Action, ActionForm, ActionServlet, ActionMapping, ActionForward are basic classes of Structs. An Action class in the struts application extends Struts 'org.apache.struts.action.Acti on"Class. Action class acts as wrapper around the business logic and provides an ...
2007-11-29, 6038👍, 0💬

What is multiprogramming
What is multiprogramming? Multiprogramming is a rapid switching of the CPU back and forth between processes.
2007-11-11, 6036👍, 0💬

define() - Defining Constants
How do you define a constant in PHP? You can define a constant by using the define() function. Once a constant is defined, it can never be changed or undefined. For example: &lt;?php define("CONSTANT", "Hello world."); echo CONSTANT; // outputs "Hello world." echo Constant; // outputs "Constant"...
2007-02-27, 6036👍, 0💬

Garbage Collection
Does garbage collection guarantee that a program will not run out of memory? No, it doesn't. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.
2007-03-03, 6035👍, 0💬

How To Drop a Stored Procedure
How To Drop a Stored Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions If there is an existing stored procedure and you don't want it any more, you can remove it from the database by using the DROP PROCEDURE statement as shown in the following script example: SQL> CREAT...
2007-04-26, 6034👍, 0💬

How can we use .NET components in COM
What is CCW (COM callable wrapper) ? or How do we ensure that .NET components is compatible with COM ? .NET components can not be used in straight forward way with COM. You will need to create CCW in order that COM components communicate with .NET assemblies. Following are the different approaches t...
2007-10-22, 6031👍, 0💬

What is the difference between Shadowing and Overriding
What is the difference between Shadowing and Overriding ? Following are the differences between shadowing and overriding :- ? Overriding redefines only the implementation while shadowing redefines the whole element. ? In overriding derived classes can refer the parent class element by using “ME” key...
2007-10-23, 6021👍, 0💬

In what instances you will declare a constructor to be private
In what instances you will declare a constructor to be private? When we create a private constructor, we can not create object of the class directly from a client. So you will use private constructors when you do not want instances of the class to be created by any external client. Example UTILITY f...
2007-10-23, 6018👍, 0💬

<< < 18 19 20 21 22 23 24 25 26 27 28 > >>   Sort: Date