answersLogoWhite

0

midd_log

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Information Science

What is a user name in a database?

It can refer to someone who can use the database. There may be security on it, meaning they have to log on to use it or do some things with it. They would be given an account, and as part of that they would have a user name an a password.


Data base state vs database schema?

The database schema is the description of the database. It defines how the database is set up and what data it is to contain and control. This description is given to the DBMS to manage the data. The database state is an image of how the database looks at any given time. The database schema is set unless you change how the database is structured. The database state will change whenever new data is entered into the database and the database is updated.


What are names of databases?

Database names are the identifying names that users provide when creating a database. These names must be unique within the location in which they are cataloged. The name differentiates the database from any other database in either the local database directory or the system database directory


What diff between the database and database system?

In simple terms, you can look at the database as being the files or tables with the data. A database system includes the other elements like queries, reports, forms, programs and other elements that manipulate and support the data in the database.


How do you retrieve data from database in PHP?

There are many factors that must be taken into consideration when looking to retrieve data from a database, such as 'what database management system do i posses/supported by my host?' in most cases people looking to retrieve data using php posses SQL database management systems such as MySQL in their control panel which can be used to create, delete and alter databases, along with creating multiuser access to the databases.once the databases are created and their respected users are added and given their database privileges, one can begin adding and proccessing data to and from a database.assuming that all the previous has been acheived and there is data in the database, below is a set of php/mysql functions that can process multiple rows of data in a database table.$link = mysql_connect ("localhost", "USERNAME HERE", "PASSWORD HERE") or die (mysql_error());$mysql_db = mysql_select_db ("DATABASE NAME") or die (mysql_error());$db_search = mysql_query("SELECT * FROM `TABLE NAME`");if (@mysql_num_rows($db_search) > 0) {while($data = mysql_fetch_array($db_search)) {}}first you connect to your host, then select the database, query a selected table, check for rows of data in the table, place the array of data into a variable, and do what you please with the data now contained within that variable.for more information go to php.net/mysql

Related Questions

What is an oracle account?

Oracle is the name of a database, I would guess it is an account (username/password) on that database.


How do you connect mysql database with php program?

You can do that using the mysql_connect() function. For example: <?php $host='localhost'; //Your Host Name Here $username='root'; //MySQL Username $pass='';//MySQL Password $dbname='codenair'; //your Database Name //Connecting Database mysql_connect($host,$username,$pass)or die('Failed to Connect'); //Selecting Database mysql_select_db($dbname)or die('Database Not Found'); echo 'Connected'; ?>


What is the username and password for Oracle 9i?

You need to ask the DBA (Database Administrator) for that information.


What is a DSN used for?

A DSN (Data Source Name) is used to connect an application to a database by defining the database connection parameters such as server location, database name, username, and password. It helps manage and streamline database connections within an application.


How do you run a MySQL query from PHP file?

Here is a simple script that you can do to run a MySQL query after you have set a database up. <?php // Database Settings $db['hostname'] = "localhost"; $db['username'] = "<db username>"; $db['password'] = "<db password>"; $db['database'] = "<db name>"; // Connect to MySQL $connect = mysql_connect($db['hostname'], $db['username'], $db['password']); // Select Database mysql_select_db($db['database'], $connect); // Do MySQL Query mysql_query("INSERT INTO table_name SET field_name = '1234567890'"); // Close MySQL mysql_close($connect); ?> Obviously you will need to use your own MySQL settings and database details, but this gives you a general overview of how you can do it.


How do you retrieve username and password from sql database to HTML web page?

You would need to use PHP


How are the simple coding of php with database?

Working with mySQL databases: <?php // Connects to the database mysql_connect(servername,username,password); // Inserts into a database mysql_query(INSERT INTO table(cat1, cat2, cat3) VALUES(one,two,three)); ?>


How can i make a logging program and attach a database to it that when i insert a username and pass it goes on the database?

First create a form:Now create a page called login.php. The "name" field in the input is what goes to $_POST so the input named username is $_POST['username']. The value of the input is what the $_POST is.


What object must be created first when creating a database file?

To use the module, we need to create a connection object that represents the database, it needs to have a username, password, and host. Here are the steps to create a database: open Microsoft access, create a new database, save the file, and browse the new database menu.


How do you get data from a MySQL database with PHP according to a method id?

For example if we have database named "users", and we need user information from table "user_info", which has next parameters: 'userId', 'userName','Name','Age'. $sel = mysql_query("SELECT * FROM users.user_info WHERE userId='$methodId'"); $ar = mysql_fetch_array($sel); echo " User Id is:".$ar['userId'].", UserName: ".$ar['userName'].", Name: ".$ar['Name'].", Age: ".$ar['Age']." ";


Why would a person need to know the NOD32 password?

The software NOD32 requires a valid username and password for updating the virus database. This means that without a password and username, the software cannot provide complete security.


What is a user name in a database?

It can refer to someone who can use the database. There may be security on it, meaning they have to log on to use it or do some things with it. They would be given an account, and as part of that they would have a user name an a password.