mysql_connect("localhost","username","password") or die("Unable to connect to the database!"); $query="insert into $jpg values ('$id','$url','$mess','$fromx','$url1','$mess1','$fromx1','$url2' ,'$mess2','$fromx2','$url3','$mess3','$fromx3')" ; $result=mysql_db_query("elong",$query); //Execute writing if ( mysql_affected_rows()==1) { echo "The data has been added to the database $jpg
"; echo "
n
n
ID< ;td>$id
n
n
url address
$url
n
n
Small picture
n
n
Description
$fromx
n
n
url address 1
$url1< ;/tr>n
n
Picture 1
$mess1
n
n
Description 1
$fromx1
n
url address 2
$url2
n
n
Small picture 2
$mess2
n
n
Description 2
$fromx2
n
n
url address 3
$url3
n < tr} else echo "There is a problem with the system, please try again!:("; mysql_close(); ?> Back to homepage a>