PHP Classes

File: examples/createAccount.php

Recommend this page to a friend!
  Classes of Rohit Arya   Villaments PHP WhatsApp API   examples/createAccount.php   Download  
File: examples/createAccount.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Villaments PHP WhatsApp API
Interact with WhatsApp using the Villaments API
Author: By
Last change:
Date: 3 years ago
Size: 369 bytes
 

Contents

Class file image Download
<?php
require_once('../includes/curl.php');
require_once(
'../includes/whatsapp.php');
$wa=new Whatsapp();
$data['name']='Rohit Arya'; // Name of User
$data['cname']='Test Company'; // Company Name
$data['email']='test@test.com'; // Email Address
$data['phone']='9999999999'; // Phone Number
$res=$wa->createAccount($data);
echo
"<pre>";
print_r($data);
?>