MySQL query
#3

Use default values! You're actually inserting only two real values. Using default values will tremendously shorten your query. Very easy to set up in phpMyAdmin.

Furthermore, only strings should be wrapped in quotes ('). The query will work with quotes around the other values, but MySQL will do an implicite conversion from text to whatever should be in the field. This takes time. A very, very short time, but time nonetheless.

For your original question: just remove the backslash (\).
Reply


Messages In This Thread
MySQL query - by Riddick94 - 26.11.2013, 10:31
Re: MySQL query - by 0x41726d79 - 26.11.2013, 10:38
Re: MySQL query - by Vince - 26.11.2013, 10:44
Re: MySQL query - by Riddick94 - 26.11.2013, 10:45
Re: MySQL query - by Vince - 26.11.2013, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)