Advertisement
Rusudan

Untitled

Nov 22nd, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.44 KB | None | 0 0
  1. <?php
  2. $dbc = mysqli_connect('localhost', 'highler_learn', 'KarambA77', 'highler_learning' )
  3. or die('Error connecting to MySQL database server.');
  4. $query = "INSERT INTO formCapture ('first_name', 'last_name', 'city', 'country', 'date', 'sex', 'mail', 'phone', 'web', 'color', 'message') VALUES ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k')";
  5. $result = mysqli_query($dbc, $query) or die('Error querying database.');
  6. mysqli_close($dbc);
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement