ok... i have come a little further with my issue, i am now using the following code below
page displays:
world
Fatal error: Cannot instantiate non-existent class: mysqli in /var/www/wh223306x001/html/chemiframe.php on line 26
i understand also now that the script to login may be only applicable to a newer version of php and that my isp server my be running an older version
any help on script required for login to older version would be appreciated, otherwise i will keep researching and keep you posted.
_____________________________________
<?php print ("world");
ini_set("display_errors","1");
$mysqli = new mysqli("localhost", "my_user_name", "my_password");
$mysqli->select_db('wh223306x001');
$result = $mysqli->query("SELECT* FROM chemical");
$result->close(); ?>
Last edited by atomek; 2006-09-18 at 11:30 PM.
|