topical media & game development
basic-php-06-index.php / php
<?php
link)
or die(mysql_error());
?>
<html>
<head>
<title>Movie database</title>
<style type="text/css">
TD{color:#353535;font-family:verdana}
TH{color:#FFFFFF;font-family:verdana;background-color:#336699}
</style>
</head>
<body>
<table border="0" width="600" cellspacing="1" cellpadding="3"
bgcolor="#353535" align="center">
<tr>
<td bgcolor="#FFFFFF" colspan="2" align="center">
Movies <a href="movie.php?action=add&id=">[ADD]</a>
</td>
</tr>
<?php
result = mysql_query(row = mysql_fetch_array(row['movie_name']; ?>
</td>
<td bgcolor="#FFFFFF" width="50%" align="right">
<a href="movie.php?action=edit&id=<?php
echo row['movie_id']?>">[DELETE]</a>
</td>
</tr>
<?php
}
?>
<tr>
<td bgcolor="#FFFFFF" colspan="2" align="center">
People <a href="people.php?action=add&id=">[ADD]</a>
</td>
</tr>
<?php
result = mysql_query(row = mysql_fetch_array(row['people_fullname']; ?>
</td>
<td bgcolor="#FFFFFF" width="50%" align="right">
<a href="people.php?action=edit&id=<?php
echo row['people_id']; ?>">[DELETE]</a>
</td>
</tr>
<?php
}
?>
</table>
</body>
</html>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.