|
|
|
$adId = $_GET['ad_id'];
mysql_connect($dbHost,$username,$password);
@mysql_select_db($database_ads) or die( "Unable to select database");
$query = "SELECT id, intern_text, category FROM ads_0806 WHERE id =$adId";
$result = mysql_query($query);
$num = mysql_numrows($result);
mysql_close();
$i=0;
while ($i < $num) {
$artId = mysql_result($result, $i, "id");
$artContent = mysql_result($result, $i, "intern_text");
$artCategory = mysql_result($result, $i, "category");
?>
echo "$artContent"; ?>
$i++;} ?>
|
|
advertisement
|
|
|
|
|
advertisement
|
|
|
|
|
|
|
|
|