Hi,
I have two PHP files.
One is in the root and named bylenstemplate.php and displays fine
An exact copy named clear_gl.php is in the bylens folder as illistrated below:
-root
--menupages
----glasses
------bylens
The copy throws the following error:
Parse error: parse error, unexpected T_STRING in /home/global01/public_html/menupages/glasses/bylens/clear_gl.php on line 9
Any one have any ideas or causes?
Here are the first lines of the code from both files
<?php
$dbh=mysql_connect ("localhost", "x", "x") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("x");
$query = "SELECT * FROM products WHERE prodnum LIKE '%00'";
$result = mysql_query($query) or die(mysql_error());
$num_rows = mysql_num_rows($result);
?>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
Thanks