Something went wrong..MYSQL

Place for sharing your game modifications for Life is Feudal: Your Own

Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

Something went wrong..MYSQL

Post by Tobias0412 » 05 Jan 2017, 05:37

Can someone explain this error ? Im not able to do something like this with characters...all other tables ar eno problem. Im also not able to call the "character" table with php...
anyone an idea what to do ?
Attachments
Unbenannt.jpg
Mysql Error
Unbenannt.jpg (67.12 KiB) Viewed 3227 times


Catall
Devoted Believer
 
Posts: 43
Joined: 07 Jul 2016, 11:04

Re: Something went wrong..MYSQL

Post by Catall » 05 Jan 2017, 09:33

This one works for me:
Code: Select all
SELECT `Name`, `Lastname` FROM `lif_2`.`character`;


Alakar
Beta Tester
 
Posts: 202
Joined: 23 Jan 2015, 07:39

Re: Something went wrong..MYSQL

Post by Alakar » 05 Jan 2017, 18:02

Yeah you have to put character in single quotes to work otherwise it thinks it's character as in a letter or number etc.


Tobias0412
 
Posts: 32
Joined: 06 Dec 2016, 21:15

Re: Something went wrong..MYSQL

Post by Tobias0412 » 05 Jan 2017, 20:25

Its still not working..
I jsut want to show some Lines on Website...

Look: http://lif-kriegsinsel.de/rangliste/


Catall
Devoted Believer
 
Posts: 43
Joined: 07 Jul 2016, 11:04

Re: Something went wrong..MYSQL

Post by Catall » 06 Jan 2017, 09:35

I guess you did Change lif_2.character to your database name?

I tried t directly in mariaDB, it works as i wrote for my db.

Return to Game mods