Is it apache compulsory for php mysql?
No necessarily, PHP can be used on various other web servers, not just Apache, but Apache is the most popular. MySQL is a stand-alone database engine and is used by a lot of other stuff, not just PHP apps.
How do you draw the er diagram for forest management system?
To draw an ER diagram for a forest management system, start by identifying the key entities such as Trees, Species, Forest Areas, Managers, and Wildlife. Define the relationships between these entities, for example, a Tree belongs to a Species and is located in a Forest Area, while a Manager oversees these areas. Use rectangles to represent entities, diamonds for relationships, and ovals for attributes. Finally, ensure to indicate cardinalities to show the nature of the relationships, such as one-to-many or many-to-many.
Advantages and disadvantages of a MySQL database?
PRO:
fairly easy syntax
good management tool (phpmyadmin)
easy to integrate and use with PHP, Ruby etc.
very common therefore lots of tutorials and howtos
CONS:
performance
bad or missing RDMS features (like postgreSQL or other systems have)
limited capacities storage-wise
How do you stop double logging in using PHP and MySQL?
Assuming you are using a User database and sessions, simply add a Session key. Auto generate this key as follows:
$newsession_key = SHA1( RAND(100000000,999999999));
Enter this in the database on the user row when logging in and store it in a session and in the database. Then on your code where you define the user logged in status you add something like:
$database_session = $DATABASE['sessionkey'];
If($database_session != $_SESSION['sessionkey']){
Unset($_SESSION['username'],$_SESSION['password'],$_SESSION['sessionkey']); #A*
}
A* Add in any sessions you use to keep the user logged in.
What are the Advantages and disadvantages of relational data base model?
Some of the advantages of relational databases include the ability to link information about a particular person who is in several databases together by simple links. One disadvantage is that once the database is created it is not changed easily so any database forming as part of a relational database must be very carefully planed before anything else can be done
How to resolve error code 1046 and database not selected in MySQL?
To solving such problem out you need to prof recovery software.
I would recommend you tool below finds out/opens/scans and repairs mysql troubles.
What are disadvantages of file system?
File system data management (or flat-file databases) served as the only method of file storage and retrieval before the advent of database management systems (such as relational databases). While retaining some use, flat-file databases suffer from poor accessibility, data redundancy, lack of standard file access and the inability to organize data.
What command is used to remove a table in MySQL?
Please refer to the related links section which points to the correct page of the on-line MYSQL manual.
How do you store dates in MySQL 5?
There is a specific DATE variable type for collumns (as well as DATETIME, and TIME variable types). By default, entering a date in the format of yyyy-mm-dd (y being a digit of a year, m being a digit of a month, and d being a digit of a day) will suffice when storing dates. Most server-side languages take returned DATE's and turn them into strings - but in MySQL, they are not just strings.
Can a single MySQL column be referenced as a foreign key to multiple tables?
No. A foreign key may only point to only one collumn on one other table, and a collumn may only have one foreign key reference assigned to it.
Data inconsistency exists when different and conflicting versions of the
same data appear in different places. Data inconsistency creates
unreliable information, because it will be difficult to determine which
version of the information is correct. (It's difficult to make correct - and
timely - decisions if those decisions are based on conflicting information.)
Data inconsistency is likely to occur when there is data redundancy. Data
redundancy occurs when the data file/database file contains redundant -
unnecessarily duplicated - data. That's why one major goal of good
database design is to eliminate data redundancy.
What is collation in MySQL Database?
Collation in MySQL Database is a set of rules used in comparisons. Because many people use MySQL with data to be stored in languages other than English, they need to select the rules of comparisons which in turn depends on the character set used for storing that data.
In MySQL, data is stored using a specific character set, which can be defind at different levels; i.e., the sever, the database, the table, and the column levels. Each character set has a default collation; for instance, the Latine1 character set uses the latin1_swedish_ci collation which is the Swedish case insensitive order. Usually, when someone develops an application that involves localization (using the local language; e.g., Arabic) or Internationalization (i.e., using multiple languages), they resort to Unicode (utf-8) which has several collations. In general, it is a good idea to set the character set to utf-8 and select the relevant collation or just accept the default utf8-general-ci.
Reference
[1] MySQL Reference, Character Sets and Collations in General. Available at http://dev.mysql.com/doc/refman/5.0/en/charset-general.html
The MySQL logo is made up of the world MySQL and it has a dolphin jumping upwards on the right side.
What is the easiest way to learn how to use a MAC?
Sit in front of one for an hour and you'll figure out how to do most stuff, but you can read Mac OS X for Dummies to find out more stuff you can do.
Its easy to use, just a little different from Windows.
Some Differences:
* The close, minimize, maximize buttons are at the top-left of a window, not top-right. * The menubar for the active window or programs shows up on the top of the screen, not on the top of each window.
* Programs are often installed by just dragging that application-name.app file into the Applications folder. * The "command" button replaces the "control" button for most common shortcuts. * Command+Shift+Z instead of Command+Y to re-do an action that you have un-done.
* Squeezing the Apple's "Mighty Mouse" shows all open windows at once.
* You can hold down the control button and scroll to zoom the screen. * Instead of a start-menu, you have all the program and folder/file shortcuts on the dock at the bottom of the screen. Also, minimized items are held in the dock instead of a taskbar.
I'm just going to assume that "left" and "right" are names of an input fields, and that the form type is "POST"
in the php file that your form is posted to, you can get these values like this:
$left = $_POST["left"];
$right = $_POST["right"];
now $left and $right will have the values from your form, and you can use them as you like.
In databases, a view is a stored query accessible much the same way as a table.
The view does not hold any data, but can be used to retrieve data from one or more tables.
Views can represent a subset of the data contained in a table, can join and simplify multiple tables into a single virtual table, can aggregate table data (using sum, avg, count, etc) and can hide the complexity of data
SQL stands for Structured Query Language, and is a computer language designed for writing data manipulation or data management statements against a relational database. PL/SQL stands for Procedural Language/Structured Query Language which is Oracle's proprietary procedural extensions to the SQL language.
PRMS Product History 1969 Pansophic Systems was founded 1976 Computer Associates International. and PCR was founded 1980 PCR releases RMS (Resource Management System) 1987Pansophic Systems acquires PCR 1989 Pansophic releases PRMS 8.0 (Pansophic Resource Management System) 1991 CA acquires Pansophic Systems & PRMS 8.2 is released 1993 PRMS 8.3 is released 1995 PRMS 8.4 is released 1996 CA creates independent Business Unit - Acacia Technologies Acacia releases QRE Release 1.0 1997 Acacia releases QRE 2.0 - Advance Planning & Scheduling Tool Acacia acquires Systems Start-Up (Professional Services) 4/1999 Acacia releases PRMS 9.0 5/1999 Computer Associates creates interBiz Supply Chain Group (SCG) to focus on platform independent, e-commerce solutions for manufacturers and distributors. 6/1999 interBiz SCG releases QRE 2.1 7/1999 interBiz SCG releases ProAction, interBiz WebTrade & Advanced Financials Option Tony Lopez
What are the differences between MySQL and Oracle?
The Oracle link, below, gives an objective comparison between MySQL and Oracle (n.b., a great deal of the lengthy page contains computer terminology that the average layman may not understand). what is the difference between oracle and MySQL?
Can you make a relationship between two tables in a Database Management System DBMS?
Yes, a Database Management System's main advantage is that it will enforce relationships between tables in a database preventing you from entering data in one field in another table that does not already exist in another table. So for example if you have a database that tracks online purchase, the DBMS would prevent a product that does not already exist in the Products table from being added to a shopping cart table. Or an employee ID from being added to a timecard table that does not already exist in the employee table. Databases can be setup without enforced relationships, but doing so usually results in orphaned records (for instance, where and employee id exists in the timecard table that does not exist in the employee table.)