Sorry 😉
I've got a form like this:
<form action="/admin/edit.php" method="post" name="frm_show_by_date" id="frm_show_by_date">
<fieldset id="fld_show_by_date">
<legend class="generic-legend">Browse Month…</legend>
<select name="show-by-date" size="1" id="show-by-date">
<option value="200706">June2007</option>
<option value="200705">May2007</option>
<option value="200704">April2007</option>
<option value="200703">March2007</option>
</select>
<input name="show-date" type="submit" value="Show Month" id="show-date" />
</fieldset>
</form>
With the query I want to retrieve all the posts
posted in that month .
The thing that I'd like to know if about this line:
date_format(p.post_date, '%%Y%%m')='%d'
for the character escape '%%Y%%m'
I hope to have got my idea across clearly 😉