How to download whole folder from google drive

Do you want to download full folder from google drive? In this article, I will show you how to do that.

Just follow the step.

  1.   At first login to your google drive account.
  2. Just select your folder which you want to download, But don’t open it.
  3. As like the above photo, click your the more option from top menu
  4. You will find a download menu and click it..
  5. Then your files will be zipped and starting download automatically

How to download a shared file with my account?

  1. From your account sidebar, you will discover “Shared with me” menu.Click there and enter this menu.
  2. You will find all files and folder which is shared with you.
  3. Choose one and download it from more option as like above instruction

How to remove index.php from Codeigniter Url

Do you want to remove index.php from codeigniter url?

I am telling you the way how can you do it..

Open config.php and do following replaces

$config['index_page'] = "index.php"


$config['index_page'] = ""

In some cases the default setting for uri_protocol does not work properly. Just replace

$config['uri_protocol'] ="AUTO"


$config['uri_protocol'] = "REQUEST_URI"


Please update your .htaccess file-

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA] 

How to count data from multiple table in a single query

As a developer, We need to count rows  from multiple table in a single query.

In this tutorial, I will show you how can you do that –

I am writing it Codeigniter format, but you can use this query in procedural way.

$query = "SELECT (SELECT COUNT(id) FROM table1) AS num1,
(SELECT COUNT(id) FROM table2) AS num2,
(SELECT COUNT(id) FROM table3) AS num3";
$result = $this>db->query($query)->row();

You can also use where condition here to get more necessary info..