Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

[PHP3] Oracle From: Adam Powell (adam <email protected>)
Date: 03/29/99

Hi... I am currently trawling through the Oracle documentation, and I
wondered if anybody could help.

Having been used to mySQL, I have been recently been forced to make the
change up to Oracle 8.1, and have a very short time limit with which to
transfer over our entire system... basically I am trying to connect to a
database on machine X, send a query and retrieve a certain number of rows
from it... can anybody just give me a quick rundown of how Oracle is
different from mySQL in this way...

So for instance...
$conn = mysql_connect("server", "account");
$res = mysql("database", "SELECT * from personal WHERE first_name='Adam'");
while ($d = mysql_fetch_object($res)) {
  echo "Hello $d->first_name $d->second_name<br>";
}

Not being 100% sure about the oracle API, can anybody translate the above
few lines?

Thanks in Advance!
Adam Powell

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>