Recent content by Greg62150

  1. G

    sql problem

    Yes!!! It 's working!! Thank you very much MaestroFX1, I would no do that without your help. Now My website is done. The problem comed because I didn't have link my database with my sql username. Thanks again! Greg
  2. G

    sql problem

    No never, why? And How can I do it?
  3. G

    sql problem

    My hosting username is : artoinet The name of my database is: artoinet Thus I have to write "artoinet_artoinet@web8.vital.x10hosting.com" ?
  4. G

    sql problem

    Ok, I've tried with some combinaison, but it does not work. It's look like the part before the @ cannot stick out from 16 letters (because when I write "$username = "artoinet_artoinet@web8.vital.x10hosting.com";", the error message is "Erreur : SQLSTATE[28000] [1045] Access denied for user...
  5. G

    sql problem

    hello, thanks for your answers. I tried like that : <?php // Connexion à la base de données try { $host = "localhost"; $database = "artoinet_petition"; $var = "mysql:host=$host;dbname=$database" ; $username = "my user name"; $password = "my password"; $pdo_options[PDO::ATTR_ERRMODE]...
  6. G

    sql problem

    Bonjour, Hello, I created a website to develop the adsl in my french village (yes, there are some village where we don't have the adsl ). In order to put pressure on the mayor, I created a petition. For that, I created a sql base with 7 fields (id, firstname, surname, nickname, village, e-mail...
Top