New answers tagged php
1
vote
Accepted
Search between dates in a WP Query
Thank you for your answers :)
In the end I have solved it by performing a first query where I perform the first filtering and on that array, I perform the second query between the selected dates.
<...
- 11
1
vote
3
votes
Accepted
Calculate cost of standard or express delivery
I wouldn't bother declaring the inverse boolean variable $standardShipping. If you like seeing the explicit variable, that's fine too.
I don't think I support the ...
- 8,369
1
vote
php flock with timeout (for LOCK_SH / LOCK_EX )
I think this function looks good. Your choice of variable names is good. I'm not an expert on file locking, but, although valid code, I don't like the for (;;) ...
- 5,545
2
votes
Accepted
GPG class for AJAX calls
My opinion is that variable variables and variable function/method names should be avoided as much as possible (I nearly want to say: "NEVER use them"). These features often have a negative ...
- 8,369
Top 50 recent answers are included
Related Tags
php × 4303object-oriented × 659
mysql × 584
security × 389
pdo × 329
performance × 298
laravel × 258
mysqli × 246
html × 241
beginner × 239
array × 225
mvc × 208
sql × 199
php5 × 186
javascript × 179
authentication × 158
validation × 127
design-patterns × 123
wordpress × 117
jquery × 111
ajax × 111
form × 109
session × 94
codeigniter × 92
classes × 90