Re: Multiple 'where' statements?
If you're using PHP as well, try the encoding and decoding functions for this...
<?
$url=urlencode("where Vendor=TNG and ProdCC like 150");
?>
<a href="second_page.php?where=<?echo $url?>">
Then, on second_page.php:
<?
$where=urldecode($_GET['where']);
$query="select * from table ".$where;
?>
And then run your sql query...
There are some annoyance with reserved characters, etc. when passing through the URL.
Subject
Written By
Posted
Re: Multiple 'where' statements?
January 20, 2005 11:00AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.