משהו כזה ?
PHP קוד:
<?php
mysql_connect('localhost','masdasd_1','111111');
mysql_select_db('fgfg');
$result = mysql_query("SELECT * FROM fgfg ORDER BY id DESC") OR die ("Error: ".mysql_error());
if($ID == "$ID") {
include ("index.php?ID=$id");
}
?>
אני בדרך ?