| Search results |
...
|
test test ...
|
...
|
What is a HTML/XHTML element? A HTML element builds up the structure of a HTML document. All elements in HTML are listed in the column to the left of this document. ...
|
What is SQL Server's GetDate function in Oracle?
Sysdate is equal to SQL Server's getdate function.
Syntax
sysdate()
Example
select sysdate() from dual
This example returns the current system date.
...
|
test test ...
|
What is a block-level element? ...
|
What is Oracle's NVL in SQL Server? Syntax
ISNULL(var1, x)
Example
select isnull(col1, 0)from table
would replace all null values with zero in column col1 in table. ...
|
How can the dropdown list be removed from a HTML select element? / How can you increase the vertical size of a HTML select element? (combobox) This can be changed by setting the size property to the number of lines that should be seen inside the select element. ...
|
What is PHP? PHP: Hypertext Preprocessor
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. ...
|
mysql_query mysql_query
Description: Sends a mySQL query to the mySQL database.
Syntax: resource mysql_query ( string $query [, resource $link_identifier] )
Parameters:
query - A SQL query
link_identifier - The MySQL connection
Return Values:
...
|
How do I get a user's IP address? The users ip address is stored in the environment variable $REMOTE_ADDR, if you want to resolve the domain name for that ip (if any) use:
<?
$domain=GetHostByName($REMOTE_ADDR);
?>
...
|
What does PHP stand for? PHP is short for "PHP: Hypertext Preprocessor". ...
|
When I try to connect to mysql from php I get this error: "Call to unsupported or undefined function mysql_connect();" Either you are missing MySQL support in the php module or you need to load MySQL dynamically in your scripts by inserting:
dl("mysql.so"); (on unix)
dl("mysql.dll"); (on windows) ...
|
is_null
is_null
Syntax
bool is_null ( mixed var)
Finds whether the given variable is NULL.
Parameters
var
The variable being evaluated.
Return Values
Returns TRUE if var is null, FALSE otherwise.
See also
is_bool()
is_nu ...
|
What PHP editor should i use? This is a good site for reviews on PHP editors:
http://www.php-editors.com/ ...
|
How do you set session timeout time? In php.ini there is a variable called session.gc_maxlifetime that is the number of seconds that php will keep using the session.
The default value is 1440 seconds. ...
|
How do you get the length of an array? Use the sizeof() function like:
$length = sizeof($array); ...
|
How do you create functions with optional variables? You set the variable equal to the default value. Like in this example:
function($var,$optional_variable="default_value") {
return 1;
}
Here $optional_variable is optional and has the value "default_value" as default ...
|
Are there any good webpages with information about PHP? A list of some good webpages:
www.php.net
The official webpage
...
|