[MYSQL](Hardcoding). Its not saving any rows.
#13

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
Kind of getting confused a bit

Which of the following is it?
1) The table does not exist in the first place.
2) The table exists but the fields gMOTD, etc., are just empty (their value is default (empty string, 0, 0.0, etc)).

You can create the table if it doesn't exist if you want to.

(Just ignore this reply if you are going to stick with the file based system instead.
pawn Код:
mysql_connect(/*your credentials*/); //connecting to the database.
mysql_query("CREATE TABLE IF NOT EXISTS misc(gMOTD VARCHAR(60), aMOTD VARCHAR(60), cMOTD VARCHAR(60), ..rest of fields)");
1) Yes table misc is empty. It doesnt have any fields.
2) No , gMOTD....aMOTD is missing, Its not inside the misc, So the problem, Fields gMOTD... aMOTD is missing or not saving. In short, Table misc is empty or does not have any fields.

This is what i mean, CREATE TABLE IF NOT EXIST. THANKS FOR THESE QUERIES. I will try it too.

P.S:
gMOTD down to HaloweenShop is missing or not exist inside the misc table. In short its not saving too.

gMOTD down to HaloweenShop
Reply


Messages In This Thread
[MYSQL](Hardcoding). Its not saving any fields. ((Secondnary Problem comes)) Massively Confused! - by PURG3D - 09.04.2015, 11:19
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 09.04.2015, 11:23
Re: [MYSQL](Hardcoding). Its not saving any rows. - by Sithis - 09.04.2015, 11:55
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 09.04.2015, 13:39
Re: [MYSQL](Hardcoding). Its not saving any rows. - by Sithis - 09.04.2015, 14:32
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 10.04.2015, 01:35
Re: [MYSQL](Hardcoding). Its not saving any rows. - by Antoniohl - 10.04.2015, 01:47
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 10.04.2015, 05:07
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 14.04.2015, 02:23
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 14.04.2015, 03:49
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 14.04.2015, 13:38
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 14.04.2015, 14:16
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 14.04.2015, 14:26
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 14.04.2015, 14:34
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PowerPC603 - 14.04.2015, 16:32
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 14.04.2015, 23:08
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 15.04.2015, 01:15
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 15.04.2015, 07:09
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 15.04.2015, 12:17
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 15.04.2015, 18:40
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 17.04.2015, 03:13
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 17.04.2015, 07:02
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 17.04.2015, 08:21
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 17.04.2015, 11:25
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 17.04.2015, 12:24
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 17.04.2015, 12:52
Re: [MYSQL](Hardcoding). Its not saving any rows. - by PURG3D - 18.04.2015, 01:45
Re: [MYSQL](Hardcoding). Its not saving any rows. - by EiresJason - 18.04.2015, 10:53

Forum Jump:


Users browsing this thread: 1 Guest(s)