Scotty13 Posted June 1, 2011 Report Share Posted June 1, 2011 Script... <?php // connect to your MySQL database here using the // script we made in the previous step of this lesson include_once "connect_to_mysql.php"; // create the query string $sql = 'ALTER TABLE `myMembers` CHANGE `phone` `style_sheet` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL'; if (mysql_query($sql)){ print "Success in table field manipulation!"; } else { print "Script Failure!"; } ?> Error message when I test in browser... Script Failure!Its in phpMyAdmin myMembers_table with no problems Thanks in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.