ich bin gerade an einem newsscript und komme an einem script nicht weiter. hier mal das script
PHP-Code:
<?php
include ("connect.php");
$test="bubu";
$sql = 'INSERT INTO `News` ( `ID` , `Titel` , `Inhalt` , `Datum` ) '
. ' VALUES ( \'\', $test, \'blablabla\', NOW() );'
. ' ';
$result = mysql_query ($sql)OR die(mysql_error());;
?>
wer kann mir erklären, warum die variable $test nicht funktioniert?

Einen Kommentar schreiben: