• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Saving Data from form to database using AngularJS and php

javascriptphpdatabaseangularjs


PHP Snippet 1:

    $host = "localhost";
$user = "angular";
$pass = "angular";
$database = "angular";
$con = mysql_connect($host,$user,$pass);
if (!$con) {
    die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_select_db($database,$con);

Related Snippets

Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue

selected value from the listbox in php

How do I refresh a DIV content?

Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning

could not find driver Debian SQL Server PHP

Adding hreflang tags automatically in WordPress subdirectory multisite

TesseractOCR not working for Laravel

Laravel Carbon throws error The format separator does not match

add_action() function in wordpress not working [duplicate]

generate an Excel file using PHP

Boolean assignment operators in PHP

Star rating with half star support

PHP, how to convert Int value to Week days

Currently Using CodeIgniter Framework i have an Error

Maatwebsite Excel 3.1 : how do I skip duplicate data when imported?

About Contact Privacy policy Terms and conditions