Leabeater
4-6-05, 01:18 PM
:confused: Using Server: mysql06.powweb.com Database: cedatasys Table: inventory
Here is my connection php/MySQL
----------------------------------------
<?php require_once("config/include/utils.runtime6.php") ?>
<?php require_once("config/include/mysql.runtime6.php") ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 6">
<title>CeDataSys Inventory</title>
<?php // GoLive Content Source
$cedatasys = WrapMySQLDatabaseResults("cedatasys", "select * from inventory", "block=1","cedatasys");
?>
</head>
----------------------------------------
But when I try to access http://www.cedatasys.com/inventory.php I'm getting the following error:
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting T_VARIABLE or '$' in /www/c/cedatasyscom/htdocs/inventory.php on line 32
I Google'd it and found it to be pretty common. Line 32 (as follows)...
<?php $->MoveFirst(); ?>
...is NOT the problem from what I have seen. I think it is the connection strings. But I've checked case sensitivity, am able to test the connection, and able to see the table using other code. For whatever reason the above connection string is a problem.
Ideas? Suggestions? Pontifications? :o
Here is my connection php/MySQL
----------------------------------------
<?php require_once("config/include/utils.runtime6.php") ?>
<?php require_once("config/include/mysql.runtime6.php") ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 6">
<title>CeDataSys Inventory</title>
<?php // GoLive Content Source
$cedatasys = WrapMySQLDatabaseResults("cedatasys", "select * from inventory", "block=1","cedatasys");
?>
</head>
----------------------------------------
But when I try to access http://www.cedatasys.com/inventory.php I'm getting the following error:
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting T_VARIABLE or '$' in /www/c/cedatasyscom/htdocs/inventory.php on line 32
I Google'd it and found it to be pretty common. Line 32 (as follows)...
<?php $->MoveFirst(); ?>
...is NOT the problem from what I have seen. I think it is the connection strings. But I've checked case sensitivity, am able to test the connection, and able to see the table using other code. For whatever reason the above connection string is a problem.
Ideas? Suggestions? Pontifications? :o