Error with MYSQL and Toys
#6

Change %s to %e, because %s represents a string (the name) which you need to escape. %e escapes data directly. Do not change %d or %f; they are integer specifiers, not strings. Here's a simple guide...

%s = string (a string of text, for example Dello, San Andreas Multiplayer, pizza123)
%d = integer (a whole number, for example 1, 53, 1000, 192384)
%f = floating point value (a decimal number, in simplest terms*, for example 90.0000, 5.3923)

* a number's binary point which can be placed relative to the significant figures of the number.
Reply


Messages In This Thread
Error with MYSQL and Toys - by Dello - 04.09.2017, 22:25
Re: Error with MYSQL and Toys - by Meller - 04.09.2017, 22:29
Respuesta: Error with MYSQL and Toys - by Dello - 05.09.2017, 00:02
Re: Error with MYSQL and Toys - by Luke_James - 05.09.2017, 00:09
Respuesta: Error with MYSQL and Toys - by Dello - 05.09.2017, 00:50
Re: Error with MYSQL and Toys - by Luke_James - 05.09.2017, 01:01
Re: Error with MYSQL and Toys - by Jefff - 05.09.2017, 01:05
Respuesta: Error with MYSQL and Toys - by Dello - 05.09.2017, 01:12
Respuesta: Re: Error with MYSQL and Toys - by Dello - 05.09.2017, 01:15
Re: Error with MYSQL and Toys - by Luke_James - 05.09.2017, 01:17

Forum Jump:


Users browsing this thread: 2 Guest(s)