I'm a COMPLETE newbie when it comes to PHP - SO I hope that I'm providing enough info to get some feedback - (Which I'm eternally Greatful for!!) I did read the guidelines, just hope this is ok..
I've tried to create my own personal Blog management system using php - by following a tutorial from a magazine.
I've picked out most of the bugs with logging in etc, however I am getting this message on the page that follows when I hit the SUBMIT POST button
Parse error: parse error in /home/spikefil/www/www/test/write_blog.php on line 5
I have checked the tutorial and all is as it says it should be.
Maybe someone with some php knowledge could tell me whats going wrong.
<?php
$filename="blog.html";
$oldfile=fopen($filename, "r");
$file_content=fread($oldfile, filesize($filename)
fclose($oldfile);
$date=(date ("d-m-Y") ) ;
$time=(date ("H:i:s") ) ;
(I've only included the first bit where it says the problem is - If I need to post more of the code could someone please pm me.)
Thank you!! All help is greatfully appreciated.
If you need to see the actual page thats giving you the issue - let me know and I'll post the url and password to access it
Cheers!!