• 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

yii2 and mssql insert varbinary into model

Having issue with matching rows in the database using PDO

Uncaught TypeError: Cannot read property 'length' of null when retrieving tags from wp

Convert date and time to Jalali in Laravel

auth pages not getting css in laravel

Filter WooCommerce related products by Polylang language

How to give apache permission to write to home directory?

PHPExcel file download using AJAX call

codeigniter 4 running error first time with xampp

Nginx RTMP not recording

Execute only one time and then wait set period of time before executing again

Laravel Blade checkbox not checked

get folder directory from input type file - PHP

Check if a string contain multiple specific words

Reload parent page after submit in iframe

About Contact Privacy policy Terms and conditions