answersLogoWhite

0


Best Answer

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)); ?>

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are the simple coding of php with database?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

How easy is it to learn profile php?

Learning profile PHP is a great way of being able to produce dynamic web content. Simple PHP profiling is relatively easy for those with a fundamental knowledge of html coding. Advanced PHP applications take time to learn, and will involve a great deal of study.


How are placeholders used in PHP database programming?

Placeholders in an abstraction layer such as PDO in PHP allows for caching and security in database queries (they fight SQL injection).


What is php mysql?

You are probably referring to running a MySQL query from within a PHP script. This is often done so that the PHP code can perform operations on the data that it gets out from the database. Creating an actual query from php is fairly simple once you have everything else set up, in fact if you know MySQL already you can just use the exact same syntax in PHP. Here is a link to a tutorial that will show you how to set up everything: http://www.freewebmasterhelp.com/tutorials/phpmysql/


What is the difference between simple php and core php?

The terms &quot;simple PHP&quot; and &quot;core PHP&quot; are not commonly used in the web development community, but based on the context, we can provide an explanation of what they might refer to: Simple PHP: &quot;Simple PHP&quot; is a vague term that could refer to using basic PHP syntax and features without incorporating any advanced frameworks or libraries. In this context, &quot;simple PHP&quot; typically means writing PHP code without relying on additional tools or external dependencies. It implies a straightforward and minimalistic approach to PHP development. Core PHP: &quot;Core PHP&quot; refers to the fundamental and essential features of the PHP programming language itself. Core PHP includes the core functions, language constructs, and syntax provided by PHP without the use of any external libraries or frameworks. It involves writing PHP code in its purest form, utilizing the features and functionalities offered by the PHP language without any additional abstractions. In summary, &quot;simple PHP&quot; suggests a minimalistic approach to PHP development, while &quot;core PHP&quot; focuses on utilizing the essential features and syntax of the PHP language itself without relying on external dependencies. It's worth noting that both terms are not widely used, and their exact definitions may vary depending on the context and the individuals using them.


What is query in php?

query() or mysql_query() are outdated, insecure functions used for communicating queries or "requests" to a database.

Related questions

Does android supports PHP?

It supports websites made on php but not coding in php. There are workarounds for coding in PHP using Android.


What is PHP data coding?

PHP data coding is softwares that allows or has frameworks which can make PHP input to it's own script language. So you may code programs for example with PHP, just that it has to be extended PHP because of new functions and features. It may also be application coding for the web.


Is Wikipedia a database?

The coding of Wikipedia relies heavily on PHP and MySQL with almost everything but the images in a MySQL database. The locations of the images are in the database. So yes, in a way, Wikipedia is a database. However a database is a type of software that stores data, while Wikipedia is a wiki, a collaborative editing site.


How do you handle database in php?

Please refer link. The presentation gives complete understanding of how to deal with database (Mysql) with php.


What does PHP include in terms of html coding?

To do programming in PHP, there is often the dilemma of whether or not to place the code within the HTML. Depending on the writer's coding experience it is usually better to place the PHP within the HTML.


What is a database in PHP?

Database = Where you save your data (ex: if a user fill your registration form, entered data should be saved somewhere, that's database) Usually in PHP we use MySQL Database.


How easy is it to learn profile php?

Learning profile PHP is a great way of being able to produce dynamic web content. Simple PHP profiling is relatively easy for those with a fundamental knowledge of html coding. Advanced PHP applications take time to learn, and will involve a great deal of study.


When would one use a PHP table?

PHP is a type of coding for a forum or website. Any website that uses the PHP coding could use a table to organize data or to show relationships between the specific data that is on the website.


Is PHP a drug?

PHP is a programming language. You may be thinking of PCP, or a-PHP (a-Pyrrolidinobutiophenone).


How does Cartoon Network make ben 10 games?

By coding it. A coding, like, PHP. You gotta learn it.


How does PHP work in the server?

Your PHP code accesses the database running on the same machine. It acts as an interface to the database. The user indirectly modifies the database through your code. The database is stored wherever. It really doesn't matter to you.


What is php code for online recruitment system?

write php coding for online carrier guidance and placement unit