Sorry, I don't know where else to post this but I thought most of the smart guys hang around here so I have a better chance of getting good help, I started a Racing team site and I made a news system (very simple) that orders news by id and posts them etc.
So to make it easier for myself i made a Page that uses the PHP $_POST to get info for the db then run a query to insert it, This is the PHP code that I use:
and I always get "Error, Insert query failed. "
So to make it easier for myself i made a Page that uses the PHP $_POST to get info for the db then run a query to insert it, This is the PHP code that I use:
<?php
$query = "'INSERT INTO `impulser_ProStreet`.`News` (`ID`, `Title`, `Text`, `Date`) VALUES (\'\', \'".$title."\', \'".$text."\', \'(TestDate)\');";
mysql_query($query) or die('Error, Insert query failed. :(');
?>