Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('connect-mysql.php');
- $table = 'team-names';
- $column = 'team6';
- $add = mysqli_query($conn, "ALTER TABLE $table ADD $column VARCHAR(16) NOT NULL;");
- ?>
- [code]
- <?php
- $servername = "localhost";
- $username = "root";
- $password = "password";
- $dbname = "player-info";
- // Create connection
- $conn = new mysqli($servername, $username, $password, $dbname);
- ?>
- [/code]
Add Comment
Please, Sign In to add comment