Posts: 550
Name: surajit ray
Location: inside the heart of my friends
|
use $type= addslashes($_GET['type']); instead of
Code:
$type = mysql_escape_quotes($_GET['type']);
And you will get every records each time because of
while($row = mysql_fetch_array( $result)) {
you suppose to pass the resource $rs like
while($row = mysql_fetch_array( $rs)) {
__________________
Take care about what you think. Thoughts can travel far - Swami Vivekananda
Last edited by jito : 04-18-2007 at 04:53 AM.
Reason: addition
|