Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /.../includes/vendorhead.php on line 8
Here's the query and line 8 is the result line:
<?php
include('dbconnect.php'); // has connect code
$query = "SELECT * FROM $table";
$result = mysql_query($query) or die(mysql_error());
if($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
$company_name = stripslashes($row['company_name']);
$intro = stripslashes($row['intro']);
?>
What gives?