PHP Classes

File: dynamically-add-remove-field/config.php

Recommend this page to a friend!
  Classes of ganesh kavhar   PHP Form Add Fields Dynamically   dynamically-add-remove-field/config.php   Download  
File: dynamically-add-remove-field/config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP Form Add Fields Dynamically
Change form fields dynamically using AJAX requests
Author: By
Last change:
Date: 6 months ago
Size: 305 bytes
 

Contents

Class file image Download
<?php
define
('DB_SERVER','localhost');
define('DB_USER','root');
define('DB_PASS' ,'');
define('DB_NAME', 'practice');
$con = mysqli_connect(DB_SERVER,DB_USER,DB_PASS,DB_NAME);
// Check connection
if (mysqli_connect_errno())
{
 echo
"Failed to connect to MySQL: " . mysqli_connect_error();
}
?>