اوكي اسف خيي
تفضيل هيدا تبع الواجهة. هوي عادي كتير ومافيو شي محرز, يعني هنن هيك بدنيا بس الكود اهم شي عندن.
هيدا لي كنت انا عم بشتغل عليه:
كود:
<html>
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="Zend Studio" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>title</title>
</head>
<style>
.fieldnames{
background-color: black;
color: #827F7F;
text-align: center;
}
.tder{
padding: 10px;
text-align: center;
background-color: silver;
border: 1px solid black;
}
#textarea{
width: 200px;
height: 200px;
}
</style>
<style>
.style1 {
color: black;
font-size: 12px;
font-weight: bold;
}
a:link {
color: #827F7F;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #827F7F;
}
a:hover {
text-decoration: underline;
color: #827F7F;
}
a:active {
text-decoration: none;
color: #827F7F;
}
.style3 {
font-color:#827F7F
font-size: 6px;
}
.style4 {font-size: 12px}
</style>
<body bgcolor="#000000">
<table width="760" height="100" border="0" align="center">
<tr>
<td bgcolor="silver">
<div align="left" width="475" height="65"><font size="60"> Web Designer/intergration College</font></div>
</td>
</tr>
</table>
<table width="760" height="550 "border="0" align="center">
<tr>
<td width="103" bgcolor="silver"><div align="center"><span class="style1">
<font color="brown" size="2">menu:</font><p><br>
</span>
</div>
</td>
<td width="387" height="550" bgcolor="silver">
<div align="center">
<!-- databse connect/begin -->
<span class="style3">
<?
{
$dbconnect = mysql_connect("server","username","password");
mysql_select_db("databasename", $dbconnect);
$result=mysql_query("Select * From * ORDER BY id DESC LIMIT 0,1;")or die('Fejl: '
.mysql_error()."<br><a href='#'onclick='javascript:history.go(-1);'>Back</a>");
$fieldnum=mysql_num_rows($result);
$fieldnamenum=mysql_num_fields($result);
echo "<table><tr class='fieldnames'>";
for($i=0;$i<$fieldnamenum; $i++){
echo "<td style='padding: 10px;'>"
.mysql_field_name
($result, $i)."</td>";
}
echo "</tr>";
for($j=0; $j<=$fieldnum-1; $j++){
mysql_data_seek($result, $j);
$row=mysql_fetch_array($result);
echo "<tr>";
for($k=0; $k<$fieldnamenum; $k++){
echo "<td class='tder'>".$row[$k]."</td>";
}
echo "</tr>";
}
echo "</table>";
}
?>
</span>
<!-- databse connect/end-->
</p>
</div>
</td>
</tr>
</table>
<div align="center" class="style4" >
<font color="#silver"><a href="#" target="_blank">
<!--Copyright (company & year)-->
</font>
</a>
</div>
</body>
</html>
كنت عامله include بس امتوا كرمال يزبط هون.
هيدا كل شي معي وما بعرف بالباقي

وفيك تستغني عن المساعده ازا ما قدرت خيي