Jump to content

PHP database ALTER TABLE


gevensen

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.