gevensen Posted August 4, 2009 Share Posted August 4, 2009 I am having a problem executing a ALTER TABLE command via php I wasnt to pull the command from a input box for example $data=$_POST['element']; the problem i am having is when i use enum the command portion i am having a problem with is ENUM( '0', '1' ) it comes out ENUM( '/0', '/1' ) using $_POST How can I removed the slashes? Link to comment https://forums.phpfreaks.com/topic/168784-php-database-alter-table/ Share on other sites More sharing options...
Bjom Posted August 4, 2009 Share Posted August 4, 2009 stripslashes? Link to comment https://forums.phpfreaks.com/topic/168784-php-database-alter-table/#findComment-890505 Share on other sites More sharing options...
gevensen Posted August 6, 2009 Author Share Posted August 6, 2009 ok for some reason i was thinking stripslashes was only for the ends i had a huge headache most of that day thanks and a DOYYYY for me Link to comment https://forums.phpfreaks.com/topic/168784-php-database-alter-table/#findComment-892061 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.