Nieuw lid | 
                 | 
                
				
				Zit met een vervelend probleem en ik weet niet waar de fout is. 
Volgende: script haalt Id uit de url 
 
    
    
        
            
                
$Id = (isset($_GET['Id'])) ? intval($_GET['Id']) : 0 ;
$where = ($Id != 0) ? " WHERE Id=".$Id : " ";
 
             
            $where = ($Id != 0) ? " WHERE Id=".$Id : " "; 
 
  
         
          
     
  
 
dan is er een query: 
    
    
        
            
                
$Parentquery = 
		"SELECT	FatherId, MotherId, DOB FROM $table WHERE Id='".$_GET['Id']."'";
$result_Parentquery = mysql_query($Parentquery)or die(mysql_error());
if ($result_Parentquery) {
			$row = mysql_fetch_assoc($result_Parentquery);
			$FatherId = $row['FatherId'];
			$MotherId = $row['MotherId'];
			$DOB      = $row['DOB'];
}
		else {
			$Parentquery;
	}
             
            $Parentquery =  		"SELECT	FatherId, MotherId, DOB FROM $table WHERE Id='".$_GET['Id']."'";     if ($result_Parentquery) { 			$FatherId = $row['FatherId']; 			$MotherId = $row['MotherId']; 			$DOB      = $row['DOB']; } 		else { 			$Parentquery; 	} 
 
  
         
          
     
  
 
Dan ergens in het script is er die query die GEEN foutmelding geeft maar ook GEEN output. 
    
    
        
            
                
"SELECT * FROM $table WHERE FatherId = $FatherId and MotherId = $MotherId and DOB = $DOB and Id !=$Id ORDER BY DogName ASC";
 
             
            "SELECT * FROM $table WHERE FatherId = $FatherId and MotherId = $MotherId and DOB = $DOB and Id !=$Id ORDER BY DogName ASC"; 
 
  
         
          
     
  
 
Maar als ik hem zo zet gaat het wel: 
    
    
        
            
                
"SELECT * FROM $table WHERE FatherId = $FatherId and MotherId = $MotherId and Id !=$Id ORDER BY DogName ASC";
 
             
            "SELECT * FROM $table WHERE FatherId = $FatherId and MotherId = $MotherId and Id !=$Id ORDER BY DogName ASC"; 
 
  
         
          
     
  
 
Wat is het probleem, het zal wel niks moeilijks zijn zeker maar een futiliteit.:$ 				
				 |