Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [MySQL][PHP] Problem z dodaniem tabeli
Forum PHP.pl > Forum > Przedszkole
jarzyslaw
Witam przy instalcacji webleague na yoyo.pl napotkałem taki problem otóż nie wiem jakie parametry mam wpisac jaką ilośc pól oraz dodatkowa konfiguracje. W instrukcji był taki fragment. Z góry dzięki za pomoc

  1. <?php
  2.  
  3. //start
  4.  
  5. //configure database info
  6. $databaseserver = "localhost"; //usually localhost
  7. $databasename = "dbname"; //the name of your database
  8. $databaseuser = "dbuser"; //the name of the database-user
  9. $databasepass = "dbpass"; // the password to your database
  10. $directory ="http://www.yoursite.com/WebLeague" ; //the location of your WebLeague directory (no trailing slash)
  11.  
  12. //configure the tables in the database
  13. $playerstable = "webl_players"; //the name of the table that contains information about the players
  14. $gamestable = "webl_games"; //the name of the table that stores the played games
  15. $newstable = "webl_news"; // the name of the table that stores the news
  16. $varstable = "webl_vars"; //the name of the table that stores various information
  17. $admintable = "webl_admin"; //name of the table that stores the admin login information
  18. $pagestable = "webl_pages"; //name of the table that stores additional pages
  19.  
  20. //finish
  21.  
  22. ?>
Fifi209
Nie rozumiem pytania, szczególnie, iż brak struktury bazy.
jarzyslaw
Wkleiłem po prostu fragment z instrukcji. W pierwszej części tego co trzeba dodać do jednego z plików. Wprowadziłem parametry dany i wrzuciłem na serwer. Problem ma z ta drugą częścią, Z bazy danych wcześniej usunąłem wszystkie tabele
Fifi209
Cytat(jarzyslaw @ 23.11.2009, 16:14:50 ) *
Wkleiłem po prostu fragment z instrukcji. W pierwszej części tego co trzeba dodać do jednego z plików. Wprowadziłem parametry dany i wrzuciłem na serwer. Problem ma z ta drugą częścią, Z bazy danych wcześniej usunąłem wszystkie tabele

Napisz lepiej w ogóle co to jest, poza tym jak ma cokolwiek działać jak tabele z bazy pousuwałeś ?
jarzyslaw
przez panel administracyjny bazy smile.gif
Chodzi mi o zainstalowanie skryptu WebLeague.
cristo
Ja też mam ten problem podałem prawidłowe dane do bazy i nic wyskakuje tylko okienko tworzenia konta admina jak podam nick i pass kliknę submit to nic się nie dziej a powinno tworzyć tabele. Poproszę o rady.
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.