Was trying to run some basic php scripts yesterday to test uploading a file and I was finding that even though the tests I did that test connections worked it seems that when I ran the scripts nothing happened. I didn't even get an error message.
Now I'm using phpmyadmin and it seemed that I everything was correct in the setup but still nothing is happening.
This scripts are below.
Is it possible that it could be a problem with the config.inc.php file? Oh I'm using XAMPP by the way.
<form enctype="multipart/form-data" action="upload.php" method="POST">
Name: <input type="text" name="name"><br>
Genre: <input type="text" name = "genre"><br>
Track: <input type="file" name = "track"><br>
<input type="submit" value="Upload">
// Connects to your Database
mysql_connect("localhost", "root", "my_password") or die(mysql_error()) ;
mysql_select_db("fxmas") or die(mysql_error()) ;
//This is the directory where music will be saved
// $target = "music/";
//$target = $target . basename( $_FILES['track']['name']);
//This gets all the other information from the form