Search results

  1. V

    Php upload error

    You just try this code.... <?php if ((($_FILES["image"]["type"] == "image/gif") || ($_FILES["image"]["type"] == "image/jpeg") || ($_FILES["image"]["type"] == "image/bmp") || ($_FILES["image"]["type"] == "image/pjpeg"))) { if ($_FILES["image"]["error"] > 0) { echo "Return...
  2. V

    I need help pls

    <?php //Connect To Database $hostname='localhost.com'; $username='forexample'; $password='xxxx'; $dbname='example'; $usertable='ECMY4572957'; $usrtble2=' enter second table name ' mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to database! Please try again...
  3. V

    PHP and MYSQL

    plz use mysql error () command. Eg: <?php $query="select * from tble"; mysql_query($query) or die(mysql_error()); ?> it will help you to find out errors.
  4. V

    Error establishing a database connection

    You please go to the cpanel and check you database connections settings.
Top