Search results

  1. H

    Setting Up Website

    Ah I see the error.. It seems I have incorrectly configured PDO in my php code. What exactly should I enter for username and password? Additionally, I'm having trouble displaying images. What should the image's src be in html if the image I want to reference to is in my public_html folder?
  2. H

    Setting Up Website

    Hi everyone, I have uploaded all the files for the website I coded to the public_html folder and I have created a .htaccess file with the following line in it: DirectoryIndex index.php However, when I go to my website, it just shows a blank page. What do I do?
  3. H

    PDO Configuration

    Fantastic. Thank you for the quick response.
  4. H

    PDO Configuration

    Hi everyone, I have just started using x10hosting and I am not sure how to set up a PDO. Up to now, all of my projects have been locally hosted so I am not sure how to configure this: PDO('mysql:hostname=;dbname=exampledb', 'username', 'password') I know what goes in for username, password...
Top