I want use "Easy PHP Upload" but i need Mysql - Tabels?
Sry my Eng
no why do you think that?
Help
upload_db_example.php - why is that?
// You need to modify the settings below... $conn = mysql_connect("localhost", "user", "pw") or die(mysql_error()); mysql_select_db("database", $conn) or die(mysql_error());
// the code to create the test table mysql_query(" CREATE TABLE IF NOT EXISTS file_table ( id INT NOT NULL AUTO_INCREMENT, file_name VARCHAR( 100 ) NOT NULL, PRIMARY KEY (id))") or die(mysql_error());
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6439
39458 credits Members referred : 374
It's time to use PHP5!
« Reply #3 on: Oct 20, 2006, 10:50:38 PM »
its just an example how to use the upload class and storing the filename in a database...