• 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

Laravel print last executed SQL query with Query log

Woocommerce product attributes with hierarchy like categories

Smarty if isset

PHP rotate matrix counter-clockwise

What is my SQL missing?

PHP sort array of objects by two properties

Cannot retrieve error message using Symfony HttpClient if the response is not "ok"

ldap is missing from system when installing adldap2 in laravel

run a query using EXECUTE BLOCK to prepair a column for an unique-Index

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

Post Form Data To phpmyadmin Database

How to make autocomplete work in foreach php loop? (vscode, intellisense)

PHP mail sending empty mails

Laravel insert dynamic input values with radio button

I can't delete my image when it is liked because of the foreign key in mysql

About Contact Privacy policy Terms and conditions