View Single Post
ישן 16-03-06, 22:58   # 3
TAsraf
Permanently Banned
 
מיני פרופיל
תאריך הצטרפות: Dec 2005
מיקום: עכו
הודעות: 421
שלח הודעה באמצעות ICO אל TAsraf שלח הודעה באמצעות MSN אל TAsraf

TAsraf לא מחובר  

PHP קוד:
<? 
include "config.php"

     
$sqlquery="SELECT * FROM topics"
     
$theresult=@mysql_query($sqlquery,$con); 
?> 






<html> 
<meta name="generator" content="Namo WebEditor(Trial)"> 
<body> 
<table border="1" width="25%"> 
<tr> 
<td align="center"><b>נושא ההודעה</b></td> 
<td align="center"><b>נשלח בתאריך</b></td> 
</tr> 

<? 
while ($recordeset=@mysql_fetch_array($theresult)) 

     echo 
"<tr>"
     echo 
"<td><a href=view.php?id=".$recordeset["id"].">".$recordeset["title"]."</a></td>"
     echo 
"<td><center>".$recordeset["date"]."</center></td>"
     echo 
"</tr>"

?> 
</TABLE> 
<?php 
mysql_close
();
?> 
</body> 
</html>
תנסה את זה
  Reply With Quote