What's new

Pomocy baza danych

Status
Not open for further replies.

blad

Active User
Joined
Nov 21, 2008
Messages
111
Reaction score
2
Witam, chc? importowac config.sql z accmaker i wyskakuje takie cos

Wygl?da na to, ?e w twoim zapytaniu SQL jest b??d. W znalezieniu przyczyny problemu mo?e pom?c tak?e - je?li si? pojawi - poni?szy opis b??du serwera MySQL.
PHP:
ERROR: Nieznany znak przestankowy @ 1
STR: <?
SQL: <?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );


zapytanie SQL:
PHP:
<?PHP $config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );

MySQL zwr?ci? komunikat: Dokumentacja
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?PHP
$config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' )' at line 1
 

macgates

Active User
Joined
Apr 10, 2008
Messages
69
Reaction score
4
Odp: Pomocy baza danych

To chyba ze WebServera uzywasz?
 

blad

Active User
Joined
Nov 21, 2008
Messages
111
Reaction score
2
Odp: Pomocy baza danych

Xamppa u?ywam. OTS wszed? spoko a accmaker co? nie dzia?a
 

Grzechu

Senior User
Joined
Nov 29, 2008
Messages
1,263
Reaction score
93
Odp: Pomocy baza danych

Ty pr?bujesz to:
PHP:
<?PHP $config['site']['worlds'] = array(0 => 'Server 1', 1 => 'Server 2' );
Doda? do bazy danych?
 

Freeq132

Advanced User
Joined
Nov 13, 2008
Messages
360
Reaction score
25
Odp: Pomocy baza danych

Buahahahaaha eheheuehueheue, przecie? to nie jest zapytanie SQL w og?le wtf? co ty chcesz importowa? w og?le gdzie ty masz taki plik jak config.sql?
 

Grzechu

Senior User
Joined
Nov 29, 2008
Messages
1,263
Reaction score
93
Odp: Pomocy baza danych

No w?a?nie si? dziwi? po b??dach mysql... Gdy? php nie mo?esz doda? do zapyta? mysql....
 
Status
Not open for further replies.
Top