bms71@pitt
New Member
- Messages
- 5
- Reaction score
- 0
- Points
- 0
I have to update my website for Monday for a class, but I have no idea where I can go to upload new pages since I apparently can't do it from Dreamweaver right now.
<?php
//make the database connection
$conn = mysql_connect("localhost", "bms71_bms71", "password");
mysql_select_db("bms71_mailinglist", $conn);
$firstName = $_REQUEST['firstName'];
$lastName = $_REQUEST['lastName'];
$email = $_REQUEST['email'];
$street1 = $_REQUEST['street1'];
$street2 = $_REQUEST['street2'];
$city = $_REQUEST['city'];
$state = $_REQUEST['state'];
$zip = $_REQUEST['zip'];
//insert new records
mysql_query("INSERT INTO info (firstName, lastName, email, street1, street2, city, state, zip) VALUES ( '$firstName', '$lastName', '$email', '$street1', '$steet2', '$city', '$state', '$zip')");
?>
<?php
@require("personalinfo_connection.php");
?>