Jump to content

What is PHP?

- - - - -

  • Please log in to reply
4 replies to this topic

#1
fishsticks

fishsticks

    Learning Programmer

  • Members
  • PipPipPip
  • 34 posts
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?

#2
CommittedC0der

CommittedC0der

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,565 posts
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. :)
A man can be defined by what he does when no one is looking.
Science is only an educated theory, which we cannot disprove.

#3
opwuaioc

opwuaioc

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 216 posts
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
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,124 posts
  • Location:Vancouver, Eh! Cleverness: 200
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.
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.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users