Fakher_AldeenOdeh

php Configuration

Dec 17th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.64 KB | None | 0 0
  1. <?php
  2. $currency = '&#8377; '; //Currency Character or code
  3.  
  4. $db_username = 'root';
  5. $db_password = '';
  6. $db_name = 'test';
  7. $db_host = 'localhost';
  8.  
  9. $shipping_cost      = 1.50; //shipping cost
  10. $taxes              = array( //List your Taxes percent here.
  11.                             'VAT' => 12,
  12.                             'Service Tax' => 5
  13.                             );                      
  14. //connect to MySql                      
  15. $mysqli = new mysqli($db_host, $db_username, $db_password,$db_name);                        
  16. if ($mysqli->connect_error) {
  17.     die('Error : ('. $mysqli->connect_errno .') '. $mysqli->connect_error);
  18. }
  19. ?>
Add Comment
Please, Sign In to add comment