phpbuilders! first off, you guys are 2 for 2 for me! You have been such a great help in pushing me in the right direction for both of the questions I asked on here! Let's see if you can go 3 for 3 :-)
When I input data into my db table, is there a way for it to return the primary_key ID that it creates? Here is the simple code:
$file_name=$_FILES['Filedata']['name'];
mysql_query("INSERT INTO files (`file_name`, `file_title`)
VALUES ('$targetFile', '$file_title')") or die(mysql_error());
I need to get back the files.id that it creates.
Thanks so much!