Pronostics Paris sportifs Concours
script php

S'enregistrer  |  Rechercher   |  Liste des Membres   |  Annuaire des sites utilisant le script
Connexion |  Se connecter pour vérifier ses messages privés |   Profil


Problem when I set up the starting 11

 
Poster un nouveau sujet   Répondre au sujet    Phpleague Index du Forum -> ENGLISH support

Voir le sujet précédent :: Voir le sujet suivant  
Auteur Message
Frisco



Inscrit le: 31 Aoû 2007
Messages: 2

MessagePosté le: Ven 31 Aoû 2007, 18:53    Sujet du message: Problem when I set up the starting 11 Répondre en citant

Hi!

Congratulation for this script for the authors!

I have a big problem. I using the 0.83 version of PhpLeague. When I try to add the starting 11 of the teams, I'll get an error message when generating that page.


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/----here is the address of the site---/liga/admin/fonctions.php on line 387

What does it mean?

Here is the line 387 of admin/fonctions.php:


Code:
$query="select * from phpl_matchs, phpl_journees where phpl_matchs.id_journee=phpl_journees.id and phpl_journees.numero=$numero and phpl_journees.id_champ=$champ";


Please help anybody!!!! Thanks!
Revenir en haut
Voir le profil de l'utilisateur Envoyer un message privé
Frisco



Inscrit le: 31 Aoû 2007
Messages: 2

MessagePosté le: Dim 02 Sep 2007, 18:29    Sujet du message: Répondre en citant

Ok, I do it!

The script don't agree that you edit the older rounds of championship, you can only edit the last round. When you want to add old results, starting elevens, goalscorers, you must do a little conversation.


So at admin/fonctions.php modify line 387!

Original version the script see which is the last round of league to you only edit the last round
Code:
$query="select * from phpl_matchs, phpl_journees where phpl_matchs.id_journee=phpl_journees.id and phpl_journees.numero=$numero and phpl_journees.id_champ=$champ";


In the modified version you can edit older rounds you can add goalscorers at the first rounds of championship!

Code:
$query="select * from phpl_matchs, phpl_journees ";


I think now everything ok :[/code]
Revenir en haut
Voir le profil de l'utilisateur Envoyer un message privé
Montrer les messages depuis:   


Poster un nouveau sujet   Répondre au sujet    Phpleague Index du Forum -> ENGLISH support

Page 1 sur 1

 
Sauter vers:  


Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com

Anti Bot Question MOD - phpBB MOD against Spam Bots
Inscriptions bloquées: 3878
  PhpLeague est un script php sous licence GPL
Partenaire : Barcelona Clan
copyright © PhpLeague - Univert
Hébergement Eurower