Are they compatible?  If so, how do I do it?

I am using GoDaddy web hosting -- virtual dedicated Linux.
They supply MySQL 5 with InnoDB engine.
Their sample PHP interface is

<?php
//Connect To Database
$hostname='p50mysql145.secureserver.net';
$username='mkr0905703223506';
$password='your password';
$dbname='mkr0905703223506';
$usertable='your_tablename';
$yourfield = 'your_field';

mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect to 
database! Please try ag
in later.');
mysql_select_db($dbname);

$query = 'SELECT * FROM $usertable';
$result = mysql_query($query);
if($result) {
    while($row = mysql_fetch_array($result)){
        $name = $row['$yourfield'];
        echo 'Name: '.$name;
    }
}
?>

Dick McCullough
http://mkrmke.org
------------------------------------------------------------------------------
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to