Jump to content

New in PHP,need help with db.


Atex

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
Link to comment
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].
Link to comment
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.