PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Andy Dixon  >  NDNC Registration Check  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Quick and dirty example
Class: NDNC Registration Check
Check if a number on the India's NDNC registry
Author: By
Last change:
Date: 4 years ago
Size: 451 bytes


Class file image Download
if (
$_POST['number']) {
$ndnc = new ndnclookup();
    if (
$ndnc->check($_POST['number'])) {
<h1>Number is in the NDNC database</h1>
} else {
<h1>Number is not in the NDNC database</h1>

<form method="post">
    <h1>NDNC Checker</h1>
    Number:<input type="text" name="number"><br/>
    <input type="submit">