Synthaxe php
                    
        
     
             
                    heaveng
    
        
    
                    Messages postés
            
                
     
             
            150
        
            
                                    Statut
            Membre
                    
                -
                                     
le père -
        le père -
        Bonjour,
j'ai un probleme et je voi pas ou
et voila ce kil me dit
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/aquaref/www/espacemembre/albumaffiche.php on line 136
je pige pas si qqun voit merci de m'aider
                
            
                
    
    
    
        j'ai un probleme et je voi pas ou
$nomo = mysql_real_escape_string(htmlspecialchars($_GET['nom']));
$did = mysql_real_escape_string(htmlspecialchars($_GET['idid']));
$reponse = mysql_query("SELECT * FROM albumphoto  WHERE id = $did AND nomalbum = $nomo ");
$donnees = mysql_fetch_array($reponse);
et voila ce kil me dit
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/aquaref/www/espacemembre/albumaffiche.php on line 136
je pige pas si qqun voit merci de m'aider
        A voir également:         
- Synthaxe php
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP
4 réponses
                        
                    salut,
as-tu établi la connexion à la BDD avant ça ?
si oui, affiche ta requête SQL et teste la dans PHPMyAdmin :
    
                as-tu établi la connexion à la BDD avant ça ?
si oui, affiche ta requête SQL et teste la dans PHPMyAdmin :
$reponse = mysql_query("SELECT * FROM albumphoto  WHERE id = $did AND nomalbum = $nomo ");
var_dump($reponse);
                
                
                        
                    il me repond ca 
bool(false)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/aquaref/www/espacemembre/albumaffiche.php on line 137
                
                
    
                bool(false)
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/aquaref/www/espacemembre/albumaffiche.php on line 137
