hier sind alle vier script wie diese momentan sind
PHP/HTML/mysql-abfrage..
das script zum adden der reviews:
--------------
<form action="submitmusicreviews.php" method="post">
<b>Title</b>
<BR />
<input type="text" name="title" size="40" maxlength="80" value="" />
<br />
<br />
<b>musicreviews</b><BR><textarea name="musicreviews" rows="3" cols="40"></textarea>
<br />
<br />
<input type="submit" value="submit" /> <input type="reset" value="reset" />
</form>
----------------------
das script für den dbconnect:
----------------
<?
mysql_connect("localhost","tongueso_news","");
mysql_select_db ("tongueso_musicreviews");
?>
-------------
das script für die wieder gabe der inhalte der datenbank:
------------------
<?
include("content/webzine/reviews/dbconnectmusicreviews.php");
$getmusicreviews = mysql_query("select * from musicreviews ORDER BY title");
while($r=mysql_fetch_array($getmusicreviews)){
extract($r);
echo("<b>$title</b><BR><BR>$getmusicreviews");
echo mysql_error();
}
?>
----------------
das verarbeitungsscript submit..
-------------
<?
//gets mysql info
include("dbconnectmusicreviews.php");
//gets the current date...
$date = date("j F");
$addmusicreviews =MYSQL_QUERY("INSERT INTO musicreviews (id,title,date,musicreviews)". "VALUES ('NULL', '$title', '$date', '$musicreviews')");
//success...
echo("musicreviews Added!");
?>
----------------
danke schon mal...