S
skinnypspplayer
Guest
<?php include('session.php');?>
<?php
$_GET['id']='id';
$result = mysql_query("SELECT * FROM comments WHERE id='$id'");
while($row = mysql_fetch_array($result))
{
echo $row['id'];
}
?>
..the $_GET['id'] is simply just pulling a certain comment ID off another page. I just want it to display (to make sure it works) the ID on the page.
<?php
$_GET['id']='id';
$result = mysql_query("SELECT * FROM comments WHERE id='$id'");
while($row = mysql_fetch_array($result))
{
echo $row['id'];
}
?>
..the $_GET['id'] is simply just pulling a certain comment ID off another page. I just want it to display (to make sure it works) the ID on the page.