Jump to content

Archived

This topic is now archived and is closed to further replies.

Atex

New in PHP,need help with db.

Recommended Posts

ok,im new in php...and i need help XD
Questions:
1)How do i create a db in php? (in asp i use Access)
2)How do i update the db?
3)How do i delet the db?
4)How i search in db?
5)how i read from db?
6)how do i connect to the db?

i know,SQL so lines like : Select * from mydb,con,3,3
                                    .
                                    .
like,for update in asp i use recrodeset.update(rs.update..)
but how do i work in php?

thx

Share this post


Link to post
Share on other sites
php can connect to many different databases, however, most people (and most examples) use MySql with php.

You can look up how to use MySql with php in the [url=http://php.net/mysql]manual[/url].

Share this post


Link to post
Share on other sites
Lots of tutorials:
http://www.google.com/search?hl=en&q=php+mysql+tutorial

For creating DBs and such, use PHPmyAdmin.

Orio.

Share this post


Link to post
Share on other sites
I would recommend your to goto [url=http://www.php-mysql-tutorial.com/]php-mysql-tutorial.com[/url] and go through turorial numbers 1 through to 9. NOTE tutorial number one steps you through setting up Apache, PHP and MySQL locally so you run PHP scripts locally on your home PC.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.