|  | 
	                
  
    | 
	 
        ขอถามเรื่อง การเช็คค่า ใน array ครับ $sql = mysql_db_query($dbname,"select * from catalog  where  sto     |  
    |  |  
 
              
  
    | 
 
        
          |  |  |  |  |  
          |  |  | 
            
              | Code (PHP) 
 $sql = mysql_db_query($dbname,"select * from catalog where story regexp '$search' ") ;
$a = array("","/","*","-","+",".");
foreach ($a as $eacha);
if($search==("$eacha"))
{
echo "<script language=javascript>alert('nohave[ $search ] \\nในฐานข้อมูลครับ !!!'); location='table.php?action=table&kill=1';</script>"; 
}else
 เอาใหม่ โค็ดไม่ชัดครับ
 
 |  
              | 
                
                  |  |  |  |  
                  |  | 
                      
                        | Date :
                            2010-03-26 20:46:30 | By :
                            เด่น |  |  |  
                  |  |  |  |  |  |  |  
          |  |  |  |  |  |  |