I have two tables one is PRODUCTS and the other is DEALS.
Code:
PRODUCTS TABLE: Id product_name product_desc category brand 1 product1 desc1 cat1 brand1 2 product2 desc2
PRODUCTS TABLE: Id product_name product_desc category brand 1 product1 desc1 cat1 brand1 2 product2 desc2
<?php
if ($_FILES["file"]["error"] > 0)
{
echo "Error: " . $_FILES["file"]["error"] . "<br>";
<?
$host="xample.com";
$uname="abc";
$pass="abc";
$database = "emp";
$connection=mysql_connect($host,$uname,$pass);
echo mysql_error();
//or die("Database Connection Failed");
$selectdb=mysql_select_db($database)