Is it an issue with the L293D?

yes, my code is correct, and so is my wiring. sorry, i forgot to mention, but i did double check.