Posts: 551
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)) {
__________________
Think+, work +, but not HIV + :)
Last edited by jito : 04-18-2007 at 04:53 AM.
Reason: addition
|