This is my mysql statement but for some reason it isn't actually working and I can't figure out why. Thanks in advance!
$ID = $_GET['post'];
$length = $_POST['excerpt_length'];
more code here to connect and select db...
mysql_query("
INSERT INTO wp_posts (excerpt)
VALUES(" . $length . ")
WHERE ID = " . $ID . "
OR post_name LIKE '" . $ID . "%'");
This is for wordpress and I'm making an option to add an excerpt length because as far as I am aware, there isn't any yet. Thanks!
Ethan Brouwer