hi,
I was wondering if you could help me out here.
I get the following errors and have no idea whats wrong, im sure its simple but i cant see it.
Error 1
Parse error: parse error, unexpected T_VARIABLE in c:\apache\htdocs\test_forum\functions.php on line 23
corresponding code
$query="SELECT * FROM FORUM_MESSAGES WHERE MY_PARENT=0 ORDER BY ID DESC LIMIT $counter,50"
$topic_query = mysql_query($query,$link);
(link being the database connection)
Error 2
Fatal error: Call to undefined function: topic_display() in c:\apache\htdocs\test_forum\index.php on line 13
corresponding code
<?php
require('functions.php');
topic_display();
?>
in the functions.php file :
function topic_display()
{
etc, etc
As far as i can tell i have idea whats wrong.
the first error i have tried through the mysql command prompt and works (just substitute the value for $counter).
The second i have no idea.
If someone gets a chance, you you check out the following message i post last night but no-one has replied in the installation forum regarding SSL.
http://www.phpbuilder.com/board/showthread.php?threadid=10208571
Many Thanks
Sunit
--- Remember its always better to be pissed off than pissed on