PhP NewBIE here
For some reason I am getting a parse error please help
session_start();
$bandwidth ="<%owsTotalBandwidthUsed%>";
$mysql = mysql_connect( '65.29.60.98', 'username', 'userpass' );
$query = "select * from domain where
userID = $ID";
$result = mysql_query( $query );
$display = mysql_result( $result);
Now all i am trying to do is display the data from that row
the domain table [userID,domainID,domainName,DomainDir,sl#]
Now it all works but the display line.
I can change that to
mysql_fetch_array
mysql_fetch_ row
mysql_fetch_object
mysql_fetch_result
I get the same rror
Parse error: parse error in D:\Inetpub\wwwroot\nexflo\phpscripts\readsql.php on line 5
Thank you for the help