Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

fbsql database password function syntax tag tutorial 2013 Donate at flattr Flattr this





Alert! Connect with 10,000 Chating Online. Join Now

Php fbsql database password () function

Write your php code

 
<?php ?>

Php Result


Your code below



(PHP 4 >= 4.0.6, PHP 5)

fbsql_database_password --  Sets or retrieves the password for a FrontBase database

Syntax

string fbsql_database_password ( resource link_identifier [, string database_password] )

Returns: The database password associated with the link identifier.

fbsql_database_password() sets and retrieves the database password used by the connection. if a database is protected by a database password, the user must call this function before calling fbsql_select_db(). if the second optional parameter is given the function sets the database password for the specified link identifier. If no link identifier is specified, the last opened link is assumed. If no link is open, the function will try to establish a link as if fbsql_connect() was called, and use it.

This function does not change the database password in the database nor can it be used to retrieve the database password for a database.

Example 1. fbsql_create_clob() example

<?php
    $link
= fbsql_pconnect("localhost", "_SYSTEM", "secret")
        or die(
"Could not connect");
    
fbsql_database_password($link, "secret db password");
    
fbsql_select_db($database, $link);
?>

See also: fbsql_connect(), fbsql_pconnect() and fbsql_select_db().

Php fbsql database password Function syntax tag

fbsql database password php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online



Php fbsql database password syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.


Function index

Variables

Expressions

Operators

Control-Structures

Cookies

Array

Date & Time

Directory function

File

Image

Operators

Form data handling

Mathematics operators

Mail

Php Mysql

Network Functions

Strings

php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
 
 
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online