for some reason my sql insert isn't working???
<?php
//first do a check for each variable typed in by the user. ie. validate each field
$_POST['name'];
$_POST['email'];
$_POST['comment'];
$_POST['question'];
$check = 0;
$today = date('Y-m-d');
$answer =...
I am using php and mysql (or at least trying to use) and am having problems connecting to my db? I am using the following php script...
<?php
$host = "localhost";
$user = "root";
$pass = "root";
$connect = mysql_connect("localhost", "root", "root");
if (!$connect) {
die("Could not...
I am using php and mysql (or at least trying to use) and am having problems connecting to my db? I am using the following php script...
<?php
$host = "localhost";
$user = "root";
$pass = "root";
$connect = mysql_connect("localhost", "root", "root");
if (!$connect) {
die("Could not...