How to Install NetBeans IDE 8.0.2 for PHP on Ubuntu 14.04, 12.04 & LinuxMint

NetBeans is the most popular IDE for development on Linux systems. NetBeans editor provides many of pre configured code templates and code generation tools for faster development support. This article will help you to install NetBeans IDE on Ubuntu Systems. Step 1: Install JAVA Firstly we need to install Oracle Java/JDK on our system,Use following... Continue Reading →

Advertisements

drupal select query in details

A Select query will always return a result set object of zero or more records. There are several ways to then retrieve data from that result set, depending on the use case. The most common case is to iterate over the result set with a foreach() loop. $result = db_query("SELECT nid, title FROM {node}"); foreach... Continue Reading →

Solution of Class ‘MongoClient’ not found in php

You have not installed MongoDB PHP driver please see this link http://www.php.net/manual/en/mongo.installation.php Update sources sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list sudo apt-get update Install MongoDB PHP Driver sudo apt-get install php5-dev php5-cli php-pear -y sudo pecl install mongo Open your php.ini file and add to... Continue Reading →

How to Install and Configure MongoDB on Ubuntu 16.04

Reference: https://www.howtoforge.com/tutorial/install-mongodb-on-ubuntu-16.04/ What we will do in this tutorial: Install MongoDB Configure MongoDB Conclusion Install MongoDB on Ubuntu 16.04 Step 1 - Importing the Public Key GPG keys of the software distributor are required by the Ubuntu package manager apt (Advanced Package Tool) to ensure package consistency and authenticity. Run this command to import MongoDB... Continue Reading →

Inser record from db_query

From below query you can insert using db_query db_query('INSERT INTO {itg_menu_manager} (title,url,target,menu_level,menu_name,url_type,section_id,weight) VALUES (:values,:url,:target,:menu_level,:menu_name,:url_type,:section_id,:weight)', array(':values' => "ramji" ,":url" => 'asd', ':target' => 'asd' ,':menu_level' => 'menu_level' , ':menu_name' => 'asd',':url_type' => 'asd',':section_id' => 'asd', ':weight' => 12));

How To Backup Databases Using mysqldump Tool , How to backup a MySQL database , How to backup MySQL database structure only , How to backup multiple MySQL databases into a single file

MySQL GUI tools such as phpMyAdmin, SQLyog and etc, often provide features for backup MySQL databases with ease. However, if your database is big, the backup process could be very slow because the backup file needs to be transferred across the network to your client PC. As the result, the backup process increases the locking... Continue Reading →

WordPress.com.

Up ↑