( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
please help me. i don't know what is wrong with my code.
here is my code:
<?php
mysql_connect ("localhost", "root", "") or die ("Problem with connection..");
mysql_select_db ("freddbd");
$result = mysql_query ("SELECT * FROM logintbl");
echo "<table width=\"90%\" align = center border = 2>";
echo "<tr><td width=\"40%\" align = center bgcolor = \"FFF00\">ID</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Name</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Email</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Password</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Type</td></tr>";
while ($row = mysql_fetch_array ($result))
{
$id = $row['id'];
$name = $row['name'];
$email = $row['email'];
$password = $row['password'];
$type= $row['type'];
echo "<tr><td align = center>
<a href=\"edit.php?ids=$id&names=$name&emails=$email&passwords=$password&types=$type\">$id</a></td>
<td>$name</td><td>$email</td><td>password</td><td>type</td></tr>";
}
echo "<table>";
mysql_close();
?>
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
passwordtype
( ! ) Notice: Undefined index: id in C:\wamp\www\backend\update.php on line 20
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: name in C:\wamp\www\backend\update.php on line 21
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: email in C:\wamp\www\backend\update.php on line 22
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: password in C:\wamp\www\backend\update.php on line 23
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
( ! ) Notice: Undefined index: type in C:\wamp\www\backend\update.php on line 24
Call Stack
# Time Memory Function Location
1 0.0021 251568 {main}( ) ..\update.php:0
please help me. i don't know what is wrong with my code.
here is my code:
<?php
mysql_connect ("localhost", "root", "") or die ("Problem with connection..");
mysql_select_db ("freddbd");
$result = mysql_query ("SELECT * FROM logintbl");
echo "<table width=\"90%\" align = center border = 2>";
echo "<tr><td width=\"40%\" align = center bgcolor = \"FFF00\">ID</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Name</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Email</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Password</td>
<td width=\"40%\" align = center bgcolor=\"FFF00\">Type</td></tr>";
while ($row = mysql_fetch_array ($result))
{
$id = $row['id'];
$name = $row['name'];
$email = $row['email'];
$password = $row['password'];
$type= $row['type'];
echo "<tr><td align = center>
<a href=\"edit.php?ids=$id&names=$name&emails=$email&passwords=$password&types=$type\">$id</a></td>
<td>$name</td><td>$email</td><td>password</td><td>type</td></tr>";
}
echo "<table>";
mysql_close();
?>