Re: Timestamps
| From: | Philip Thompson | Date: | Fri, 02 May 2008 15:09:50 +0000 |
| Subject: | Re: Timestamps | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44958@lists.php.net to get a copy of this message | ||
On May 2, 2008, at 8:00 AM, Jason Pruim wrote:
On May 1, 2008, at 8:31 PM, Chris wrote:So is the query (mysql-specific). If you change to another *SQL, then you'll probably have to change the query anyway, so the backticks are not the biggest issue and they'll help you in the meantime.Currently the system is just running on my server, and probably always will... so I'm not too worried about it being mysql specific.A little caveat with that: 1) it's mysql specificPS... Was it you, Jason, or someone else who asked about the security of the community knowing their database structure and I encouraged the use ofYeah it was me... Old habits die hard :) I'm working on converting everything :)backticksaround all field and table names?
As you mentioned Chris, the backticks are in a string, so there's not a security risk in this method. ~Philip2) I can disable you using backticks http://www.php.net/manual/en/language.operators.execution.phpI'll have to take a look at that and see what it says in a little bit.