Kev0121
03-08-2009, 04:24 PM
Heres my error!
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Last Night...
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Woot
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Heres my code
<?php
include 'connection.php';
?>
<html>
<head>
<title>Testing</title>
</head>
<body>
<?php
$q = "SELECT * FROM `test`";
$qinfo = mysql_query($q);
while($post = mysql_fetch_array($qinfo)) {
echo "<div id=\"postinfo\">";
echo $post['title'];
echo "<a hrer=\"edit.php?id=$_GET[id]\">Edit</a>";
echo "</div>";
}
?>
</body>
</html>
Kevin
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Last Night...
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Woot
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Omg!
Notice: Undefined index: id in C:\wamp\www\tests\index.php on line 19
Edit
Heres my code
<?php
include 'connection.php';
?>
<html>
<head>
<title>Testing</title>
</head>
<body>
<?php
$q = "SELECT * FROM `test`";
$qinfo = mysql_query($q);
while($post = mysql_fetch_array($qinfo)) {
echo "<div id=\"postinfo\">";
echo $post['title'];
echo "<a hrer=\"edit.php?id=$_GET[id]\">Edit</a>";
echo "</div>";
}
?>
</body>
</html>
Kevin