• For create mysql view run this query.

    /**
    * From civicrm_contact table we will fetch id and first name
    *
    **/
    CREATE VIEW civiContacts AS SELECT id, first_name FROM civicrm_contact

    For call view in php

    <?php
    $con
    =mysql_connect...
    Tags:
    PHP
  • JSON stands for JavaScript Object Notation
    JSON is lightweight text-data interchange format
    JSON is language independent *
    JSON is "self-describing" and easy to understand

    Example:

    /*
    *JsonTest.php
    */
    <?php
    $employees
    = array( array( 'firstName'...
    Tags:
    PHP
  • Connection.class.php

    /*
    * Connection Class(Connection.class.php)
    */
    <?php

    class Class_Connection extends mysqli{
    public function
    ...
    Tags:
    PHP

Pages

X