I have a script that checks to see if a file exists and I want to use it to find unreleased files on this one site. The script that checks if the file exists is working fine but I would like to do more than just print out that the file exist. I would like to do something with MySQL if it exists. I don't really understand MySQL at all. What I would like to do is if the file exists have the script add a row to a table with two pieces of information. If you need more information please ask.
Thanks,
techguy
Need help with understanding MySQL and adding things
Moderator: General Moderators
well, you are going to need to either do 1 of 2 things : post this in the Volunteer Forum or open the manual included with your mysql distribution ( or view it on mysql's website ), and learn. that may sound cold hearted, but that's just simply the only way to do it. if we write hte script, you wont understand how it works. so, ur either gonna have to learn it, get started,a nd then run into a problem, or simply have somene write it for you and never learn.
the choice is yours
the choice is yours
Thanks guys. I don't think it sounds cold hearted at all. I understand that I need to learn it for myself. Well, I better get reading that huge manual...
Can anyone suggest a couple pages of the manual for me to read so I have some place to start with the reading, there is just way too much.
Also, I'm using phpMyAdmin too so that may help me and make a difference in learning how to use MySQL.
Can anyone suggest a couple pages of the manual for me to read so I have some place to start with the reading, there is just way too much.
Also, I'm using phpMyAdmin too so that may help me and make a difference in learning how to use MySQL.
I'd check out: http://www.mysql.com/INSERT
Also this google search: [google]php mysql beginner tutorial[/google]
Also this google search: [google]php mysql beginner tutorial[/google]