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

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
Yes, you still use "VALUES" no matter what you are inserting.

So to insert values into the gMOTD and ShopClosed fields, you would do this:

PHP код:
new query[100];
format(querysizeof(query), "INSERT INTO `misc` (`gMOTD`, `ShopClosed`) VALUES ('%s', '%d')"g_mysql_ReturnEscaped(GlobalMOTDMainPipeline), ShopClosed); 
Very nice , Thanks for helping , I will still reply back if some problem occurs again.
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: 2 Guest(s)