madspof Posted January 12, 2008 Share Posted January 12, 2008 Hi everyone this code gives me this parse error "Parse error: parse error, unexpected T_ECHO in C:\Deskfun\login.php on line 168" which is the echo function can anyone see why. <?php include("connect.php"); $query = "SELECT url FROM userpic WHERE DP = '1'"; $result = mysql_query($query); $row = mysql_fetch_assoc($result) echo 'hello'; ?> Quote Link to comment Share on other sites More sharing options...
revraz Posted January 12, 2008 Share Posted January 12, 2008 Missing semi colon $row = mysql_fetch_assoc($result); <--- Quote Link to comment Share on other sites More sharing options...
madspof Posted January 12, 2008 Author Share Posted January 12, 2008 thanks am getting tired i think am gona stop shudnt have realy missed that thnks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.