PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I dont know the answer to your problem, but your trusting the users input ($_GET) which can be very bad. You should "clean" the $_GET info before using it.
well if I echo the $date it works it just doesnt update the database properly for example it echos 2005-10-19 7:49:38
but updates with 0000-00-00 00:00:00
$prefix is in the included config.php and Feyd was right I was using 'date' instead of $date what I don't understand is how I could make such a mistake.
Cateyes wrote:$prefix is in the included config.php and Feyd was right I was using 'date' instead of $date what I don't understand is how I could make such a mistake.
Yeah I am rewriting some code for a flash forum it hasnt been done since 2002 and am making it compatible with PHP5 and MySQL 5 as well as still work on the older systems one major bug I fixed was to get admin rights all you had to get right was the admin user name the person that programmed syill let it retrieve the info even if the pw didnt match major hole and still more to find. If anyone want to see what it looks like here is the testing address http://cov.clan-web.com/flashbb/Forum4.html the original was at the same site but decided i didnt want the database erased.