View Single Post
ישן 16-03-06, 13:26   # 1
בונדי
משתמש חדש
 
מיני פרופיל
תאריך הצטרפות: Feb 2006
הודעות: 116

בונדי לא מחובר  

מה הבעיה בקוד הזה

מה הבעיה בקוד הזה שהוא לא מציג לפי Id

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


$query mysql_query("SELECT poster, text, title, date, avter, id FROM topics where id");
while(
$array mysql_fetch_array($query)) { 








echo 
"<br>  <table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='359' height='127' id='AutoNumber1'>
    <tr>
     <td width='353' height='15' bgcolor='#66ccff' colspan='2'> <div align='right'> כותרת : "
.$array["title"]."   &nbsp;&nbsp; | &nbsp;&nbsp;  תאריך : ".$array["date"]."</td>
    </tr>
    <tr>

     <td width='100' height='108' bgcolor=#fffff>השולח :<br>"
.$array["poster"]."<br><br> <a href='remove.php?id=".$array["id"].">מחק </a> | <a href='edit.php?id=".$array["id"].">ערוך </a></td>
      <td width='253' height='108'>"
.$array["text"]."<br><br><br> ----------------------------------------- <br>".$array["avter"]."</td>
</table>"
;





?> 


<?php 
mysql_close
(); 
?>
__________________
לא התקבלה שום בקשה לרישום בעסק.

Last edited by בונדי; 16-03-06 at 13:33..
  Reply With Quote