Guest User

Untitled

a guest
Jun 20th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <?php
  2. /*
  3. * Ejemplo con los Datos en una Variable Array
  4. * Esto es Recomendable si usas config.php o setting.php (Archivos de Configuración)
  5. */
  6. try {
  7. require('SelphieSQL.php');
  8.  
  9. $Datos['host'] = 'localhost';
  10. $Datos['user'] = 'root';
  11. $Datos['pass'] = '1234';
  12.  
  13. $Obj = new SelphieSQL($Datos, 'test');
  14. }
  15. catch(Exception $_ERROR) {
  16. echo 'Error: '.$_ERROR->getMessage();
  17. }
  18. ?>
Add Comment
Please, Sign In to add comment