PHP Classes

Error initializing the class(es)

Recommend this page to a friend!

      Comment  >  All threads  >  Error initializing the class(es)  >  (Un) Subscribe thread alerts  
Subject:Error initializing the class(es)
Summary:Syntax error in class_sql_table
Messages:2
Author:Stephen Hamilton
Date:2012-04-06 01:42:57
Update:2012-04-06 15:21:40
 

  1. Error initializing the class(es)   Reply   Report abuse  
Picture of Stephen Hamilton Stephen Hamilton - 2012-04-06 01:42:58
Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in C:\xampp\htdocs\OOP\sqltable\class_sqltable.php on line 1470

  2. Re: Error initializing the class(es)   Reply   Report abuse  
Picture of Stephen Hamilton Stephen Hamilton - 2012-04-06 15:21:41 - In reply to message 1 from Stephen Hamilton
goto is a reserved word in PHP 5+. Changed the function to gotofunction and the reference to it. Works now.