Menu
I use sprintf in this query to get the right language, but these percent signs in the date field are messing the whole thing up. What can i do to fix this?
[CODE]$sql = sprintf(“SELECT title_%s as title, content_%s as content, DATE_FORMAT(day, ‘%W, %M %D %Y’) as day FROM news ORDER BY id DESC “, $lang, $lang);