Categories Android Studio Tutorial

Show data from mysql database to android fragment

There are two files. 1] java file. 2] fragment file. 1] Java file code package com.example.clinicmgmt; import android.os.AsyncTask; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class fetchData extends AsyncTask { public fetchData() { } String data = “”; String dataParsed = […]

Read More
Categories Android Studio Tutorial

Insert data from android app to mysql database

Write this code into fragment file like AddExpensesFragment package com.example.clinicmgmt; import android.os.Bundle; import android.os.StrictMode; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import java.io.BufferedWriter; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; /** * A simple {@link Fragment} subclass. […]

Read More
Categories OpenCart Tutorial

How to Install OpenCart ?

Step 1 :  Open URL (https://www.opencart.com/),then click on Free Download button. then click DOWNLOAD NOW button. Step 2 : After downloading, Extract the folder, then open the Upload folder, copy all files and folders and past it in xampp >> htdocs >> make new folder  like shoppingProject. Step 3 : Rename config-dist.php file to config.php Step […]

Read More
Categories wordpress Tutorials

Add Fields in edit profile page on wp admin

//We add action to hook “show_user_profile” and create three labels and input field in callback function and add action for same callback function add_action( ‘show_user_profile’, ‘extra_user_profile_fields’ ); add_action( ‘edit_user_profile’, ‘extra_user_profile_fields’ ); function extra_user_profile_fields( $user ) { ?> <!– HTML Start Section of Custome Fields –>     <h3><?php _e(“Extra profile information”, “blank”); ?></h3>     […]

Read More
Categories Interview QuestionPHP Tutorial

PHP Interview

1) What is PHP? PHP stands for Hypertext Preprocessor. It is an open source server-side scripting language which is widely used for web development. It supports many databases like MySQL, Oracle, Sybase, Solid, PostgreSQL, generic ODBC etc. 2) What is PEAR in PHP? PEAR is a framework and repository for reusable PHP components. PEAR stands for PHP Extension and Application […]

Read More
Categories PHP Tutorial

PHP CMS(Content Management System)

     1. WordPress Download WordPress CMS: http://wordpress.org/download/ Demo Sites build using WordPress: http://wordpress.org/showcase/ Official Site: http://wordpress.org/      2. Joomla Joomla Demo: http://demo.joomla.org/ Download Joomla CMS: http://www.joomla.org/download.html Official Site: http://www.joomla.org/     3. Drupal Drupal Demo: https://drupal.org/project/demo Download Drupal CMS: https://drupal.org/download Drupal Documentation: https://drupal.org/documentation Official Site: https://drupal.org/       4. Cake PHP Cake […]

Read More
Categories PHP Tutorial

PHP Ecommerce framework

1. Magento Community Edition Magento is an open-source e-commerce platform written in PHP. The software was originally developed by Varien, Inc, a US private company headquartered in Culver City, California.  Varien published the first general-availability release of the software on March 31, 2008.  On November 17, 2015, Magento 2.0 was released       2. […]

Read More