Can't get this to work! Why?? Have searched all over the Internet including here on Stackoverflow, but I just can't figure this out!
$myvar = "thisdb";
$file_name = "myfilename";
mysql_query("INSERT INTO mydb_".$myvar." (myplace) VALUES ('$file_name')");
Have tried with:
mysql_query("INSERT INTO mydb_".$myvar." myplace VALUES '$file_name'");
and:
mysql_query("INSERT INTO mydb_".$myvar." (myplace) VALUES ($file_name)");
...but still won't add this to my database!
Thanks in advance!