| View previous topic :: View next topic |
liquid
Joined: 26 Nov 2010 Posts: 1
|
Posted: Fri Nov 26, 2010 2:08 pm Post subject: php mysql to oracle |
|
|
|
hi all ,
hopefully you can help me on this one, i have a piece of "application" that works with mysql but i need to convert it to work with oracle.
i tried converting the statements but with no success maybe you can help, the following is an example of the mysql statement, maybe if someone could convert this for me to oracle maybe im missing something i would be able to process the rest:
<?php
if($_REQUEST["rid"]>0){
$sql = "SELECT * FROM ".$DB_SR_TABLES["Reservations"]." WHERE id='" . $_REQUEST["rid"] . "'";
$sql_result = mysql_query ($sql, $connection ) or die ('request "Could not execute SQL query" '.$sql);
$BookingData = mysql_fetch_assoc($sql_result);
} else {
$_REQUEST["rid"]=0;
}
if (! isset($_REQUEST["index"])) $_REQUEST["index"]=0;
?>
thanks in advance |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
Powered by phpBB © 2001, 2002 phpBB Group |
|
|