Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I want to know that why use Mongodb over MySql. Anyone who have experience in Mongodb or on MySQl please suggest me.
You need to decide if you need the "transactional" capabilities or SQL or the document (or object orient) data store functionality of MongoDB. It is really a very lengthy and subjective discussion, not really best suited for here.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
but i have this project for school,
i need to make a blog with a database connection.
I have one using mysqli but we are only allowed to use PDO, and in don't know how i can convert it in to PDO can someone help me?
A good link for you : Migrate from mysql extension to pdo
And take the time to read the PDO manual here : http://php.net/manual/fr/book.pdo.php
Sorry but, I cant give you more specific information if you dont share us the code that gives you trouble.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am relatively new to php and I need to connect to a database using php, as i understand there are several methods of connecting to a database, what is the most current method of doing this?
If you are going to use built-in PHP methods, I would advise using PHP PDO. You can find more information on PDO here. You can also use a separate package to manage connections for you such as Doctrine, though this can get a little more complex in the setup. If you are just getting started in PHP, it may be easier to start off with PDO. I hope this helps!
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Can u tell me, can i use database from this server www.serversfree.com for my own website?
I googled but couldn't find anything ..
Thanks all
Yes, if you are allowing in your database to access from outside. If you are behind firewall, you need to set up portforward. But i do not recommend this.
Instead to directly access your database from outside your server, let's write an API, use API key and security tokens to perform actions on your DB.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a MySQL table "news" where I store "id","title","description". I would like to store pageviews and later use it to rank pages according to popularity.
What is the best way to do it? I've heard a lot of people complain about MySQL freezing due to high traffic. I don't want that to happen.
A simple counter would work, something like: update news set page_views=page_views+1 where id=xxxx
MySQL drives a lot of very large sites....
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I coded a codeigniter library called Aauth and i want to create documentation for it.
My need is a documentation script written in php.
We use PHPDoc: http://www.phpdoc.org/ for our PHP documentation
Php documentor is really good
http://pear.php.net/package/phpDocumentor/redirected