Jump to content

Script Failure!


Scotty13

Recommended Posts

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...