I read it somewhere "Scripts are used to create db and enter data in db".
As far as i know, sql is used to create db and enter data in it. Is script another name for sql?
It really depends what language you're talking about and in what context.
SQL is not really a scripting language. SQL is a semantic interface language between a database and a script.
A script, therefore, is a bit of code in any language which is interpreted and executed, although they do not necessarily have to be compiled.
You're probably talking about PHP, a language which is often used to interact with a SQL Database. Most languages can, either through native support or additional libraries, interact with a wide variety of database structures and formats.
This glossary is very extensive and will help you understand some of the jargon :
Thanks Nahumi,
I know that php is a server side scripting language. but i didn't knew that it can also be used to create db and entering values in db. So, can you please confirm if it can be done with php?
Yes, you can manipulate a MySQL database with PHP.
You will have to create the database first, along with a user. You can then use PHP to create and populate the tables.
Still having this problem?
This topic is from the What the Tech archive and can't take new replies. Geeks to Go is an active, free help community run by volunteers. Post your question there and a person, not a bot, will work through it with you.