commn.inc error

gelusi - January 13, 2007 - 14:16

Hi

I upgraded my drupal to 4.7.5 and now I get this error:

[client 74.6.73.122] PHP Parse error:  parse error, unexpected T_STRING, expecting ',' or ';' in /var/www/html/portal/includes/common.inc(1196) : eval()'d code on line 2

If somebody can help .... or know the problem ...

Thank you in advance.

parse error, unexpected T_STRING

gelusi - January 26, 2007 - 14:34

nobody can help me?

this error is from apache error_log

gelusi
www.cartiere.ro

same error, too

jerome_107 - August 28, 2007 - 09:20

i also get the same error with 4.7 also... while creating a php page:

<?php
$con
= mysql_connect("host","user","pw");
if (!
$con)
  {
  die(
'Could not connect: ' . mysql_error());
  }
<
div class="content">
$sql = 'SELECT * FROM `term_data` LIMIT 0, 30 ';
</
div>

mysql_close($con);
?>

am i missing something here? please help

thanks,

just another newbie :D

What are and doing in the

LanceLight - August 28, 2007 - 21:25

What are the DIV lines doing in the middle of a php block? Thats not gonna work bro.

 
 

Drupal is a registered trademark of Dries Buytaert.