View Single Post
  #4 (permalink)  
Old 08-07-2008, 04:51 PM
curtiss's Avatar
curtiss curtiss is offline
Moderator
 
Join Date: May 2003
Posts: 1,438
The T_ELSE error came about because I left out a closing curly brace at the end of the inner "else" statement
PHP Code:
else {
die(
"The procedure died while trying to add credits. Following is the error that was generated:\n\r".mysql_error());
}
else {
die(
"The procedure died while trying to retrieve information from the database. Following is the error that was generated:\n\r".mysql_error());

should be:
PHP Code:
else {
die(
"The procedure died while trying to add credits. Following is the error that was generated:\n\r".mysql_error());
}
}
else {
die(
"The procedure died while trying to retrieve information from the database. Following is the error that was generated:\n\r".mysql_error());

__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote