I know PHP is for web design, atleast I'm pretty sure, but what more specifically is its specialty in coding? Also I hear SQL associated with PHP alot. What does SQL stand for and what does it do?
4 replies to this topic
#1
Posted 08 January 2011 - 08:44 PM
|
|
|
#2
Posted 08 January 2011 - 09:07 PM
PHP is a web programming language that is used create dynamic web pages. Its very powerful and can do alot of things HTML, CSS, and JS cant do. Check here: What is PHP?
SQL, as I see it, is a database. Check here: What is SQL? - Knowledge Base
Hope you understand now. ~ Committed. :)
SQL, as I see it, is a database. Check here: What is SQL? - Knowledge Base
Hope you understand now. ~ Committed. :)
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.
Science is only an educated theory, which we cannot disprove.
#3
Posted 08 January 2011 - 09:25 PM
PHP and SQL are often used together to create applications that need to store data. PHP is used to obtain/retrieve data in conjunction with SQL. You should Google "SQL and PHP" for innumerable sites that discuss the two, often with MySQL as the preferred database.
Something witty here.
#4
Posted 08 January 2011 - 11:48 PM
I do not think it was mentioned, but SQL stands for structured query language, you can see why by looking at various examples. PHP also commonly uses an SQL engine called MySQL, which uses an extension of plain SQL to make database manipulation easier.
There are also other dialects of SQL and they have their own engines which can work with PHP, also there are flatfiles as mentioned and also an Access database can be used among CSV/XML.
PHP has a lot of options.
There are also other dialects of SQL and they have their own engines which can work with PHP, also there are flatfiles as mentioned and also an Access database can be used among CSV/XML.
PHP has a lot of options.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#5
Posted 09 January 2011 - 03:53 PM
PHP is just a programming language that is focused on providing tools for doing web-programming.
SQL is a language for interacting with databases. Since most websites have data in a database, PHP frequently uses SQL queries to get data from the database or place it in the database. W3Schools Online Web Tutorials has good tutorials on both.
SQL is a language for interacting with databases. Since most websites have data in a database, PHP frequently uses SQL queries to get data from the database or place it in the database. W3Schools Online Web Tutorials has good tutorials on both.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









