I have a short PHP code which is dosen’t work under WordPress Exec-PHP.
$day = $_GET[‘day’];
$date = (string)$day;
$query = “SELECT * FROM date_”.$date;
I think the problem is in the first line, but I don’t have any idea what is the solution. The expected result is something this:
SELECT * FROM date_130131
Have you any idea?
- The topic ‘Exec-PHP day reads problem!’ is closed to new replies.