Hi everyone I hope that someone here can help me. I have used this code before and it worked well for me. However I stopped using the domain a couple of years ago. Now I have new website and I need to retreive the data from my MySql DB and display it on the page. The code is giving me errors now. Can someone please help me. Thanks
This is the error I get:
Parse error: syntax error, unexpected T_STRING in /home/thedewbe/public_html/phptest.php on line 7
This is the code I am using:
Quote:
<?
include_once("common_db.php");
$data = new Data("Bookings");
$data->Query("SELECT * FROM Availability WHERE RoomID=\"$1\");
?>
<? echo $data->GetAt("Availability"); ?>
|