the code below is work but i want to change not limit 1 in case presell.stockcut is y such as they have 10 row but they have 1 row that
presell.stockcut = y
then go to
if($checkstockcut == "y") {
echo "<meta http-equiv=\"refresh\" content=\"0;url=presalefro
mS1.php/\"
/>\n";
}
$query20 = "SELECT presell.stockcut FROM presell WHERE refid = '$invoicenocheck' limit 1 ";
$query20result = mysql_query ($query20) or die( mysql_error());
$row_slelectPresell = mysql_fetch_assoc($query20result );
$checkstockcut = $row_slelectPresell['stockcut'];
echo $checkstockcut;
if($checkstockcut == "y") {
echo "<meta http-equiv=\"refresh\" content=\"0;url=presalefromS1.php/\" />\n";
}
else {